Asp net requiredfieldvalidator not validating

You can prevent some controls from being validated on the postback while requiring other controls on the Web page to be validated. The validator controls have a Validation Group property.The Rad Input controls also have a Validation Group property.At this case user have to hit the submit button twice So i have to disable Client Side validation and validate form just in Server Side code which is not good . If the Required Field Validator isn't working for you then I suggest writing a little javascript to do the client-side validation. A Range Validator can be applied to ensure the entered value falls within some specified interval. NET validators with Rad Input controls, simply set the ID of the Rad Input control as the value of the Control To Validate property of the validator.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.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.

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. For example a Required Field Validator can be used to make sure the user does not skip mandatory fields.Since Q2 2012 there are some modifications for Rad Input validation.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.

Leave a Reply