ASP.NET Validation Controls

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

Leave a Reply