A Look at the Remaining Validation Controls

A Look at the Remaining Validation Controls

In addition to the four validation controls we examined in this hour, there are two additional validation controls. The first is the CustomValidator, which is, as its name implies, a validation control that is customizable. The CustomValidator can be used to validate user input in a way that is not handled by one of the four validation controls we've looked at.

However, in my experience, rarely will you find that you need to use a CustomValidator. More often than not, one of the main four validation controls will suffice. If, however, you find that you do need the power of a CustomValidator, I encourage you to read "Using the CustomValidator Control" at http://aspnet.4guysfromrolla.com/articles/073102-1.aspx.

The other validation control is the ValidationSummary control. The ValidationSummary control lists the ErrorMessage properties for all of the validation controls on a web page that have indicated invalid user input data.

By the Way

To learn more about the ValidationSummary control, refer to http://www.w3schools.com/aspnet/control_validationsummary.asp.

 Python   SQL   Java   php   Perl 
 game development   web development   internet   *nix   graphics   hardware 
 telecommunications   C++ 
 Flash   Active Directory   Windows