VALIDATION CONTROLS IN ASP .NET
Validation server controls are the only type of ASP.NET server controls that also generate client-side script. All the other controls work with the idea of making postbacks to the server (a request to the server to get a response).
Types of Validation
1-Client Side Validation
2-Server Side Validation
There are Six Type of Validation Controls
1-RequiredField Validator :- Make an input controls a required field.
2-Compare Validator :- Compare the value of one input control to the value of another input control or to a fixed value .
3-Range Validator :-Checks that the user enters a value that falls between two values.
4-Regular-expression Validator :- Ensures that the value of an input control matches a specified pattern.
5-Custom Validator :- Allow you to write a method to handle the validation of the value entered.
6-Validation Summary :- Displays a report of all validation errors occurred in a web page.
No comments:
Post a Comment