Hi,
I am having issues with popup panels disappearing because the control is posting back
I have a popup extender on a page which pops out a panel that contains a control I have created
<asp:scriptmanager ID="Scriptmanager1" runat="server"></asp:scriptmanager>
<ajaxToolkit:ModalPopupExtender ID="PopupExtender1" PopupControlID="Panel1" runat="server" TargetControlID="Button1">
</ajaxToolkit:ModalPopupExtender>
<asp:Panel ID="Panel1" runat="server" BorderStyle="None" BorderWidth="1px"
ClientIDMode="Static" HorizontalAlign="Center" Visible="False">
<uc1:UserControl1 ID="UCControl1" runat="server"
Visible="False" />
</asp:Panel>
My problem is that every time I click on ButtonA on UserControl1 the popup disappears when I want it to update the error label on UCControl1 if there is an error and only disappear if everything is ok. I have tried surrounding the Panel1 with an updatePanel with conditional update mode and triggers. ButtonA is
<asp:LinkButton ID="ButtonA" runat="server" CssClass="buttonMid"
onclick="ButtonA_Click"></asp:LinkButton>
Thanks in advance
K