JavaScript Editor jscript editor     Web designer 



Main Page

You can add input validation to ASP.NET Web pages using validation controls. Validation controls provide an easy-to-use mechanism for all common types of standard validation—for example, testing for valid dates or values within a range—plus ways to provide custom-written validation. In addition, validation controls allow you to customize how error information is displayed to the user.

Validation controls can be used with any controls you put on an ASP.NET Web page, including both HTML and Web server controls. For more information, see ASP.NET Web Server Controls Overview.

Security noteSecurity Note

By default, ASP.NET Web pages automatically check for potentially malicious input. For more information, see Script Exploits Overview.

Expand imageUsing Validation Controls

Expand imageWhen Validation Occurs

Expand imageValidating for Multiple Conditions

Expand imageDisplaying Error Information

Expand imageValidation Object Model

Expand imageCustomizing Validation

Expand imageSee Also



JavaScript Editor jscript editor     Web designer 
R7