Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Modal Popup Extender doesn't work

$
0
0

I'm using Ajax ModalPopupExtender, but when I run the application the popup doesn't show. It gives following error in Chrome error console:

Uncaught TypeError: Cannot read property 'UI' of undefined

My .aspx page code is:

<div><asp:ScriptManager ID="scm" runat="server"></asp:ScriptManager><asp:Button ID="btnShow" runat="server" Text="Show Modal Popup" /><asp:ModalPopupExtender ID="mp1" runat="server" PopupControlID="Panel1" TargetControlID="btnShow" OkControlID="btnClose"></asp:ModalPopupExtender></div><div><asp:Panel ID="Panel1" runat="server" CssClass="modalPopup" align="center" style = "display:none">
    This is an ASP.Net AJAX ModalPopupExtender Example<br /><asp:Button ID="btnClose" runat="server" Text="Close" /></asp:Panel></div>




Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>