|
- ASP.NET provides a set of Web server controls called validation controls that provide sophisticated validation on both the client side and the server side depending on the validation settings and the browser's capabilities.
-
ASP.NET ensures that validations are performed on the server side even if they were already performed on the client side.
- This ensures that validations are not bypassed if a malicious user circumvents client side validation. If the client side validation fails, the server side validation is never performed.
Some validator controls are - Requiredfieldvalidator,
- RangeValidator,
- CompareValidator,
- RegularExpressionValidator,
- CustomValidator,
- ValidationSummary.
- You may want to mention about Page. Validate () Method and Page. IsValid Property.
|