C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Articles » ASP.NET/Web Applications »

Validation Controls in ASP.Net


Posted Date: 04 Jul 2009    Resource Type: Articles    Category: ASP.NET/Web Applications
Author: R.VijayaragavanMember Level: Gold    
Rating: 1 out of 5Points: 4



Validation Controls in ASP.Net



There are six main types of validation controls :-

1. RequiredFieldValidator
It checks whether the control have any value. It's used when you want the control should not be empty.

2. RangeValidator
It checks if the value in validated control is in that specific range. Example
TxtCustomerCode should not be more than eight length.

3. CompareValidator
It checks that the value in controls should match the value in other control.
Example
Textbox TxtPie should be equal to 3.14.

4. RegularExpressionValidator
When we want the control value should match with a specific regular expression.

5. CustomValidator
It is used to define UserDefined validation.

6. ValidationSummary
It displays summary of all current validation errors.



Responses

Author: Miss Meetu Choudhary    04 Jul 2009Member Level: Diamond   Points : 2
Please give a good description and format your document to get approved in two days. else it will be moved from pending to deleted.

++
Thanks and Regards
Meetu Choudhary
Site. Coordinator.


Author: Manigandan    04 Jul 2009Member Level: Gold   Points : 1
Hi Vijay,

Give Heading Formats

to your headings

.
So it look Formatted.


Thanks,
Mani


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
Validations  .  Validation Controls in ASP.Net  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: ViewState in ASP.Net
Previous Resource: Http Modules and HttpHandler
Return to Discussion Resource Index
Post New Resource
Category: ASP.NET/Web Applications


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use