- Validation Controls are used to perform the required validations at client side.
- All validation Controls will run at server side.
- Every validation Control will return true or false to the website.
- If a web can contain any number of validation Controls.
- If all validation Controls in webpage return true then page request will be submitted to the server.
- If any validation Control return false then page request will not be submitted to the server.
- At first request of (Any Webpage) the webpage every validation Control will run at server side and equivalent Html & JavaScript code is generated and send to client .This JavaScript code will perform validations at client side.
- A single validation Control can be used to perform the validations for only one Control.
Types of Validation Controls:-
[1] RequiredFieldValidator[2] RegularExpressionValidator[3] CompareValidator[4] RangeValidator[5] CustomValidator[6] Validation Summary[7] DynamicValidator
No comments:
Post a Comment