What are the validation controls available in asp.net?

 Posted by Vpramodg on 9/29/2010 | Category: ASP.NET Interview questions | Views: 2009 | Points: 40

1.RequiredFieldValidator - Helps in ensuring that a value has been entered for a field.

2.CompareValidator - Checks if the value of a control matches the value of another controls or variable.

3.RangeValidator - Checks if the value entered in a control is in specified range of values.

4.RegularExpressionValidator - Checks if the value entered matches the regular expression that specified.

5.CustomValidator - The value entered is checked by a client-side or server side function created by us.

6.ValidationSummary - A List of all validation errors occurring in all the controls is created and can be displayed on the page.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response