Last post Jun 29, 2009 06:24 AM by Zhi-Qiang Ni - MSFT
Jun 24, 2009 09:07 AM|1Madhu|LINK
How to call ModalPopup in Masterpage from Child Page using C#.Net.
Many thanks in advance.
Jun 24, 2009 09:37 AM|stevew1975|LINK
Not too sure what you need, but
Within the server side code of the master page, create a public method ShowStatistics. This will have the code to show a modal popup.
On the content page within the server side do the following code
MasterPage mp = new MasterPage();
Jun 24, 2009 09:57 AM|1Madhu|LINK
Thank you for trying. Calling a modalpopup from content page is easy but calling master page's is quite complicate.
Actually I want to show the modalpopup on top of the all pages when user click on menu item. The modalpoup content is dynamic.
Live example:- If you see asp.net site if silver light is not there then modal poup will show us for installation irrespective of any page. That means that modalpopup is should be in Masterpage right. I am looking exactly like that functionality.
Jun 29, 2009 06:24 AM|Zhi-Qiang Ni - MSFT|LINK
Please refer to my reply in these threads: