Since this tutorial hasn't treated database access yet, we will do a simpler example, but hopefully you will see that you can do just about everything with the Custom Validator.
The control allows you to validate both clientside and serverside, where the serverside approach is probably the most powerful. Value, which is the string of the control being validated, for it's length.
Since ASP is in such wide use, however, Microsoft ensured that ASP scripts execute without modification on a machine with the . We use Java Script to do the Client-Side Validation.
There are the following two types of validation in ASP.
NET validation controls define an important role in validating the user input data.Of course, doing serverside validation requires a postback to validate, but in most cases, that's not really a problem. If it's exactly 8 characters long, we return true, otherwise we return false.