Validation Controls Error Message Missing after AJAX post-back RRS feed

  • Question

  • User-326298195 posted

    I have a master template with a script manager and update panel (AjAX extensions, .Net 2.0).

    I have created a web form to do Product Info updating using the master template. Within the page, it has a few text boxes with validation controls such as Required and Custom Validator. Before a post-back, whenever there is an error, the validators will trigger and display the intended message accordingly. I have attched a sample of it. 

    <asp:RequiredFieldValidator ID="reqvalUserName" runat="server" ControlToValidate="txtUserName" meta:resourcekey="reqvalUserName" CssClass="errMsg">*</asp:RequiredFieldValidator>

    After a successful post-back with the record being updated, the validators are still working but it won't display the error message anymore in the validation summary. I am not sure if it is due to the Local Resource Key or what. Pls enlighten me. Thks.



    Wednesday, May 30, 2007 2:11 AM


All replies