Call (show) a modal popup located in MasterPage from it's childs

Posted by Vitor Reis on Stack Overflow See other posts from Stack Overflow or by Vitor Reis
Published on 2010-06-02T14:01:08Z Indexed on 2010/06/02 14:04 UTC
Read the original article Hit count: 225

I'm trying to make a default modal box that must be accessible from any part of the application, and need to be called whenever I want from inside any page. (must be called from code-behind).

So I came up with the idea of a Panel + modalPopupExtender placed in the MasterPage, and calling it from child pages via code-behind.

How can I do that? Or perhaps you guys have a better idea to solve this.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET