Problem with Ajax Control Toolkit Validator Callout Extender

I have more than one fields to validate as required fields in a form. I have put required field validator for all the fields i want to validate and also put ajax control toolkit validator callout extender for each of them. validation is working fine, but problem is that error message of only first field is popping up when i click submit button. when i fill the first field and again click the submit button, submit action is not taking place but error message is not popping up. it pops up only when i click respective fields.
renilccAsked:
Who is Participating?
 
masterpassConnect With a Mentor Commented:
just make sure you have the Display as dynamic in the requiredfield validator

<asp:RequiredFieldValidator ID="someid" runat="server" ControlToValidate="thecontroltovalidate"
Display="Dynamic" SetFocusOnError="true" />
0
 
renilccAuthor Commented:
The display is now set to "None". But i  can't set it as "Dynamic" because I am using validator callout extender. when I set it to "Dynamic", both the error messages of required field validator and validator callout extender pops up.
0
 
masterpassCommented:
0
 
renilccAuthor Commented:
Thanks masterpass. Your first post itself cleared my issue. But the problem was not with Display set to dynamic, but with SetFocusOnError="true". I didn't give this value to validator. Thanks for your post.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.