Mar 16 2009

ASP.NET Validation Controls

Published by admin at 10:30 am under ASP.NET

By Aurelie A. Peralta

 Validation controls enable us to check and validate user’s input and display the corresponding error message either dynamically, statically, or through a summary report. These controls are first treated as invisible controls and after the user has entered erroneous data, they become visible. Validation controls in asp.net are powerful objects, however developers need to understand first their behaviors and methods thoroughly before they can be appreciated.

I have created a simple asp.net page that demonstrate the following validation controls:

- RequiredFieldValidator

- RegularExpressionValidator

- CompareValidator

- RangeValidator

- CustomValidator

Download my demo application here:

http://www.psvphil.com/validationcontrols.rar

Trackback URI | Comments RSS

Leave a Reply