I have a ModalPopupExtender, hidden until invoked, which displays when the page is unloaded. Any ideas on how to prevent this from happening? Here's the code:
<asp:UpdatePanel ID="udpModalSuccess" runat="server">
<ContentTemplate>
<%--success popup items--%>
<div style="display: none;">
<asp:Button ID="btnDummy" UseSubmitBehavior="true" OnClientClick="ShowModalPopup" OnClick="btnDummy_Click" runat="server" />
<%--new dummy button added to assign the target controlid of PopupExtender--%>
<asp:Button ID="btnDummyButton" UseSubmitBehavior="true" runat="server" Text="DummyButton" Style="display: none;" />
</div>
<asp:Panel ID="pnlNewInviteSuccess" class="modalPopup" runat="s ...
Go to the complete details ...