Author: Rene.B | Posted on: 8/12/2009 7:05:57 AM | Views : 372

LS,
I have several content pages which all are based on a master page (actually its are nested master pages). Some pages are just one plain aspx page, others are composed of several user controls.
What I would like to have is a generic approach to implement the confirmation dialog in such a way I can dynamically put together the content of the dialog based on the needs of the website on a page.
What I have at this moment:
a Masterpage with a ContentPlaceHolder for the ModalPopup a aspx page with a ModalPopupExtender and a Panel as the popuptarget
the panel contains a label and two buttons, Yes and No.
the page has a method ShowPopup which takes a message string as parameter. In the method the label is set with the message and the MPE.Show method is called. the aspx page contains several user controls, each on a separate tabpanel of a tabcontainer.
Upon some action of a user, there is the need to get a confirma ...

Go to the complete details ...