Asp net requiredfieldvalidator not validating

Rated 4.68/5 based on 774 customer reviews

We have fixed an issue with the value on blur in Rad Input that may be the same as you are facing.The Compare Validator might not be the most commonly used validator of the bunch, but it's still useful in some cases.Is Valid equals true and my code proceeds, contrary to what is expected. You are missing Validation Group on the Validators.There's no need to specify validation group on the controls(textboxes) instead specify the validation group on the validators and the button on which you want the valid data to be posted!The main idea is to render only the input element all the time, and remove the span element and the excessive inputs.To be achieved this the validation value is stored in “expando” property and we submit real value through the client state. For example a Required Field Validator can be used to make sure the user does not skip mandatory fields.

asp net requiredfieldvalidator not validating-81

asp net requiredfieldvalidator not validating-19

To make a Rad Input control trigger other validators when it causes a postback: By default, all validators on the Web page must be successful before the postback that the input control initiates can occur.

When I remove Validation Group attribute, the behavior is as expected and the client side code warns that the field is required.

But when I specify Validation Group (as noted in the example above) and I click the button with the text boxes empty, the client side code does nothing, the button click event fires and the Page.

Your feedback and constructive contributions are welcome.

I think the problem may be by Ajax Panel, when i put the button in side the panel it doesn't validate When i bring the button outside, it validate (but it validate only the first time, the next time i click the button, it still not validate) aspx: Hi Nguyen, What version of Rad Controls are you using, and did you tried with the latest service pack?

Leave a Reply