Types of validation controls in asp.net, DOT NET Programming

How many types of validation controls are provided by ASP.NET 

The six main types of validation controls are as follows:-

1) Required Field Validator: This validator checks whether the control have any value . It is used when you want that the control should not be empty.

2) Range Validator: This validator  checks if the value in validated control is in that specific range. For example the TxtCustomerCode should not be more than eight in length.

3) Compare Validator: This validator checks that the value in controls should match the value in other control. Example the Textbox TxtPie should be equal to 3.14.

4) Regular Expression Validator: Whenever  we want that the control value should match with a specific regular expression.

5) Custom ValidatorThis validator  is used to define the UserDefined validation.

6) Validation Summary : This validator displays summary of all current validation errors.

Posted Date: 9/22/2012 3:36:50 AM | Location : United States







Related Discussions:- Types of validation controls in asp.net, Assignment Help, Ask Question on Types of validation controls in asp.net, Get Answer, Expert's Help, Types of validation controls in asp.net Discussions

Write discussion on Types of validation controls in asp.net
Your posts are moderated
Related Questions
What is nested Classes? You can access an array using the INDEX value of that array, but how many times you know the real value of the index. The Hashtable provides a way of ac

How do we access attributes using "XmlReader"? The below snippets represents the way to access attributes. At First in order to check whether there any attributes present in th

How can you use Hidden frames to cache client data? This technique is implemented by developing a Hidden frame in page which will have your data to be cached. T cols="100

CTS(Common Type System) : In order that the two language communicate smoothly CLR has CTS (Common Type System). Example in VB you have "Integer" and in C++ you have "long" these d

What Is The Difference Between ViewState and SessionState? View State persist the values of controls of certain page in the client (browser) when post back operation done. When

How does CAS works? There are two key methods of CAS security policy- code groups and permissions. A code group contains assemblies in it in a manner that each .NET assembly is

Ask question #Minimum 100 words accepWrite an ASP.NET program that allows you to create and populate a CheckBoxList control by accessing the Title field from the Movies database ta

What is ASP.NET Authentication Providers and IIS Security? ASP.NET executes authentication using authentication providers, which are code modules that determine credentials and

Explain the difference between XML and HTML. XML explains data while HTML describes how the data should be displayed. Thus, HTML is about displaying information while XML is ab

What' is the sequence in which ASP.NET events are processed? The sequence in which the ASP.NET events occur are as folows :- 1.     Page_Init. 2.     Page_Load. 3.