Validation Server Controls
Validation server controls are used to validate user-input.
Validation Server Controls
A Validation server control is used to validate the data of an input control.
If the data does not pass validation, it will display an error message to
the user.
The syntax for creating a Validation server control is:
<asp:control_name id="some_id" runat="server" />
|
| Validation Server Control |
Description |
| CompareValidator |
Compares the value of one input control to the value of
another input control or to a fixed value |
| CustomValidator |
Allows you to write a method to handle the validation of
the value entered |
| RangeValidator |
Checks that the user enters a value that falls between two
values |
| RegularExpressionValidator |
Ensures that the value of an input control matches a
specified pattern |
| RequiredFieldValidator |
Makes an input control a required field |
| ValidationSummary |
Displays a report of all validation errors occurred in a
Web page |
 |
|
Get Your Diploma!
W3Schools' Online Certification Program is the perfect solution for busy
professionals who need to balance work, family, and career building.
The HTML Certificate is for developers who want to document their knowledge of HTML, XHTML, and CSS.
The JavaScript Certificate is for developers who want to document their knowledge of JavaScript and the HTML DOM.
The XML Certificate is for developers who want to document their knowledge of XML, XML DOM and XSLT.
The ASP Certificate is for developers who want to document their knowledge of ASP, SQL, and ADO.
The PHP Certificate is for developers who want to document their knowledge of PHP and SQL (MySQL).
|
|