Interview answers verified by specialists.

Find interview questions and answers on this website:

See right interview answers on 30 common job interview questions

What are the different types of Validation controls in ASP.NET?

In order to validate user input, ASP.NET provides validation server controls. All validation controls inherits from BaseValidator class which contains the common validation properties and methods like ControlToValidate,Enabled, IsValid, EnableClientScript, ValidationGroup,Validate() etc.

ASP.NET provides a range of validation controls:

  • RequiredFieldValidator validates compulsory/required input.
         • RangeValidator validates the range. Validates that input falls between the given range values.
         • CompareValidator validates or compares the input of a control with another control value or with a fixed value.
         • RegularExpressionValidator validates input value against a defined regular expression pattern.
         • CustomValidator allows to customize the validation logic with respect to our application logic.
         • ValidationSummary displays all errors on page collectively.

Do you know that?

These cloud based services help freelancers: Facebook, LinkedIn, Twitter, Google Docs, DropBox, Skype, FreshBooks Next


Getting payments for Freelancers
1. Read how to register and get earned money

2. Open account within 5 minPayoneer sing up to get free $25