I tried using this example: http://www.asp.net/ajaxlibrary/AjaxControlToolkitSampleSite/modalpopup/modalpopup.aspx
<ajaxToolkit:ModalPopupExtender ID="MPE" runat="server"
TargetControlID="LinkButton1"
</ajaxToolkit:ModalPopupExtender>
And try using
MPE.Show();
on the C# side but I keep getting an error message:
“The name ‘MPE’ does not exist in the current context” I really don’t know why the C# side can’t see the asp side.
I mean the popup doesn’t have to use ajax but that’s what I was currently trying at the moment.
The modal popup extender needs a control to extend:
Code-behind: