- RequiredFieldValidator : Ensures that the user does not skip an entry. e.g Mandatory Fields
- CompareValidator: Compares a user's entry against a constant value, against the value of another control (using a comparison operator such as less than, equal, or greater than), or for a specific data type.
- RangeValidator: Checks that a user's entry is between specified lower and upper boundaries. You can check ranges within pairs of numbers, alphabetic characters, and dates.
- RegularExpressionValidator: Checks that the entry matches a pattern defined by a regular expression. This type of validation enables you to check for predictable sequences of characters, such as those in e-mail addresses, telephone numbers, postal codes, and so on.
- CustomValidator: Checks the user's entry using validation logic that you write yourself. This type of validation enables you to check for values derived at run time.
Download Full Example Here
Hi Rashid,
ReplyDeletePlease do also mention the ValidationSummary Control also. It is also part of the List of Validation Controls provided in ASP.NET.
Thnx Manoj!
ReplyDeleteI will update this article and include this control also here. :)
n for your 2nd comment. i just say i may check it again as i am very careful about contents as i assure that content by many references and books. but i'll check it once again... thnx for your support ...