|
|
 |
Aspnet servercontroltips Tutorial |
 |
 |
|
 |
| Validation server controls |
|
|
|
These are a series of controls that enables you to validate data which the user inserts in other type of controls via ASP.NET. The user can customize validation according to his/her requirements but if there are any other issues then the validation server controls mentioned below can help in displaying the errors. The validation server controls consists of:
• RequiredFieldValidator
Example: <asp:RequiredFieldValidator id="Requiredfieldvalidator4" ErrorMessage="*" Display="Dynamic" ControlToValidate="drpAddNewPoS" Runat="server" InitialValue="[Select]"></asp:RequiredFieldValidator> • CompareValidator • RangeValidator • RegularExpressionValidator • CustomValidator • ValidationSummary |
|
|
|
|
|
|
|
| |
|
|
| |
| |
|
|
|
|