how to call a modalpopupextender from any page asp.net
How do you call a modalpopupextender(dialog panel) from any web page in the application with asp.net. lets say i have an email button on several开发者_如何学C pages and want to call the emailpopupextender. how would i do that?
For those having a similar issue here is a good tutorial for the user_control method of ModelPopupExtender How To: ModalPopupExtender as UserControl
Note: From what I've experienced, trying to call MPE in MasterPage from a page in an IFrame doesn't work. If someone has an idea of how to do please post comment or answer.
If you put your popup extender and all supporting stuff within your MasterPage you could then call it from any page that was rendered as the items would already be there.
If you don't want to do a Master Page solution you could create a UserControl for the process and include that on all pages.
精彩评论