Know Validators in ASP.NET

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • neharani
    Member
    • Dec 2012
    • 85

    Know Validators in ASP.NET

    Required field Validator
    Range Validator
    Compare Validator
    Custom Validator
    Regular expression Validator
    Summary Validator
  • shilparana
    Senior Member
    • May 2015
    • 194

    #2
    Very useful information... thanks a lot

    Comment

    • Guest

      #3
      We can attach more than one validation control to an input control. and thanks for sharing this

      Comment

      • sonia sharma
        Senior Member
        • Jul 2015
        • 156

        #4
        Validation is a very important part of any web application. The User's input must be validate just before sending across different layers of the application.
        Why Validation controls are used:

        To implement the logic of presentation .
        To validate user input data.
        Data format, data type and data range is used for validation.

        Comment

        • Guest

          #5
          The validation control cl***es are inherited from the BaseValidator cl*** hence they inherit its properties and methods. Therefore, it would help to take a look at the properties and the methods of this base cl***, which are common for all the validation controls.

          Comment

          • Daljeet
            Senior Member
            • Dec 2014
            • 205

            #6
            ASP.NET validation controls validate the user input data to ensure that useless, unauthenticated, or contradictory data don't get stored.
            ASP.NET provides the following validation:
            ValidationSummary
            RegularExpressionValidator
            CustomValidator
            RangeValidator
            RequiredFieldValidator
            CompareValidator

            Comment

            Working...
            😀
            😂
            🥰
            😘
            🤢
            😎
            😞
            😡
            👍
            👎