What are the 6 different validation controls provided by ASP

For any other discussion relating to MailEnable.
Post Reply
pulse90
Posts: 4
Joined: Sun May 13, 2012 10:21 am

Re: What are the 6 different validation controls provided by

Post by pulse90 » Sun Jun 03, 2012 10:33 am

Looking at different validation controls provided by Asp
1. The Required Field Validation control
2. Compare Field Validation Control
3. Regular Expression Validation Control
4. Range Validation control
5.Custom Validation control
6. Validation Summary control
Thanks.

britnilinda
Posts: 6
Joined: Thu Jun 27, 2013 9:44 am

Re: What are the 6 different validation controls provided by

Post by britnilinda » Thu Jul 25, 2013 9:44 am

Checks that the validated control contains a value. It cannot be empty. Can be used in conjunction with other validators on a control to trap empty values. Simply, we can use it to check if the input control has any value. The most important property in the RequiredFieldValidator is InitialValue.

Code: Select all

<asp:RequiredFieldValidator id="validTxtName runat="server" 
controlToValidate="txtName" 
errorMessage="Name must be entered" display="static">
</asp:RequiredFieldValidator>
Join with US www.highprsocialbookmark.com

Post Reply