Author: GerhartCss | Posted on: 6/23/2010 2:17:39 PM | Views : 271

I have the following user control:
<asp:UpdatePanel ID="upDisplayPremise2" runat="server" UpdateMode="Conditional"> <ContentTemplate> <asp:TextBox ID="txtPremiseID" runat="server" AutoPostBack="true"></asp:TextBox> <asp:CustomValidator ID="cvValidPremises" ErrorMessage="Invalid Federal Premises ID. " runat="server" Display="Dynamic">!</asp:CustomValidator> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="txtPremiseID" EventName="TextChanged" /> </Triggers> </asp:UpdatePanel>
This control is used multiple times on one aspx page.  The issue is that each time an instance of the control is validated due to a text change any prior error messages are cleared from the ...

Go to the complete details ...