top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How many types of validation controls are provided by ASP.NET?

+3 votes
407 views
How many types of validation controls are provided by ASP.NET?
posted Feb 19, 2014 by Atul Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

In Asp.net Six Types of Validation Controls are Available.
1)Required Field validator.
2)compare validator.
3)Range field validator.
4)Regular Expression validator.
5)Custom validator.
6)Validation Summary Contril.
1)Required Field validator: It does not allow Blank values.
ex:textbox does not allow blank,
2)compare validator:You can compare the two textboxes values like
password two textboxes.
3)Range field validator:It can be Allowed with in Particular range of values like a age you can allowed with in 20 to 90 years.
4)Regular Expression validator:It can be used for the email address,Phone no like that .
5)Custom validator:it can be used for the custom validations dependce on requirements.
6)Validation Summary Contril:It can be Display the All errors at one place.

answer Feb 23, 2014 by Neeraj Pandey
...