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 |

Need an easy way to get data into XML, or transform XML to another format?
MapForce lets you map XML data to/from any combination of XML, database, flat file, Excel 2007, XBRL, or Web services data.
Then it transforms data instantly or auto-generates royalty-free data integration code for recurrent conversions.
Download a free, fully functional 30-day trial to experience the following features:
- Easy-to-use, graphical data mapping interface
- Instant data transformation
- XSLT 1.0/2.0 and XQuery code generation
- Java, C#, and C++ code generation
- Advanced data processing functions
- Support for all major relational databases including SQL Server, IBM DB2, Oracle, and more
- Visual Studio & Eclipse integration
Download a fully-functional trial today!
|
|
|
|