Overview of the Validation Controls

ASP.NET 4 includes six validation controls:

RequiredFieldValidator Enables you to require a user to enter a value in a form field.

RangeValidator Enables you to check whether a value falls between a certain minimum and maximum value.

CompareValidator Enables you to compare a value against another value or perform a data type check.

RegularExpressionValidator Enables you to compare a value against a regular expression.

CustomValidator Enables you to perform custom validation.

ValidationSummary Enables you to display a summary of all validation errors in a page.

You can associate the validation controls with any form controls included in ASP.NET Framework. For example, if you want to require ...

Get ASP.NET 4 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.