Asp net requiredfieldvalidator not validating

Also, the Validator Get Value function of the asp: Validators was overriden to look our expando property called “Rad Input Validation Value”.The following declaration shows the use of a required field validator from the form above: For a live example of the form shown above, see the Validation demo.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.As you see, we only use one validator to validate the two fields.It might seem a bit overwhelming, but it's actually quite simple.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.

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.

Please check the following help articles on how to validate the combobox using custom validation: this would be helpful.

I hope that this article would have helped you in understanding the Validation Controls in ASP. Please share it if you know more about this article.

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