3
Reply

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

sanjeev singh

sanjeev singh

15y
16.8k
0
Reply

    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.
    Thanks,
    Narasima

    Dear
    There are six type of validation controls available in Asp.Net. These are :
    a. RequiredFieldValidator
    b. CompareValidator
    c. RangeValidator
    d. RegularExpressionValidator
    e. CustomValidator
    f. ValidationSummary

    In ASP.Net. there are six types of Validator controls available :
    RequiredFieldValidator
    RangeValidator
    RegularExpressionValidator
    CompareValidator
    CustomValidator
    Validation Summary