Saturday, March 24, 2012

Ajax and RequiredFieldValidator

Hello,

The ErrorMessage of My RequiredFieldValidator is not display when I submit again (the second time) my resquest.

<asp:UpdatePanel runat="server" id="UPContact">
<ContentTemplate>
...
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Comments" ErrorMessage="*" Font-Size="XX-Small" SetFocusOnError="True"></asp:RequiredFieldValidator>
...

Any idea?

Are you using the updated validators? See:http://forums.asp.net/thread/1545781.aspx


Thank you a lot. It's just work fine!

Have nice day.

No comments:

Post a Comment