Banner Ad

Showing posts with label Validators in ASP.Net. Show all posts
Showing posts with label Validators in ASP.Net. Show all posts

Tuesday, February 26, 2013

Validators in ASP.Net –Part 6 : Validation Summary Control

By Francis   Posted at   12:53 PM   Validators in ASP.Net No comments

Validation Summary Control

                In my previous posts I have explained about validators. In this post I’m going to talk about the final validation control, Validation Summary Control.  Actually, Validation summary is not a validation control, like other Validation controls. It’s like a container which is used to display all the error messages (by other validation) in a single place. 

Monday, February 11, 2013

Validators in ASP.Net – Part 5 : Custom Validator Control

By Francis   Posted at   11:51 AM   Validators in ASP.Net No comments
Custom validator Control:

In my previous posts, I have explained 4 validation controls. In this post I’m going to explain Custom validation control. In some situations we need to customization on validations. At this time Custom validator comes in to picture.


             Custom Validator provides 2 ways to do your validation. One is Client side and another one is Server side.  User can achieve the Server side validation by using the property “OnServerValidate” property. In this property user must give the server side function name which handles the validation.

Wednesday, January 23, 2013

Validators in ASP.Net – Part 4 : Regular Expression Validator

By Francis   Posted at   11:15 AM   Validators in ASP.Net No comments

Regular Expression Validator:
                  In my previous posts, I have covered about 3 types of validators. In some situations the above 3 validators are helpful till some extend. Such that they may provide the flexibility to cover basic validation functionality. Regular Expression validator provide a step ahead functionality. 
                 For example if you want to validate to check the text box, to accept a valid Email address or phone no in a particular format at these times Regular Expression validator comes to picture.

Thursday, January 17, 2013

Validators In ASP.Net - Part 3 : Compare Validator

By Francis   Posted at   12:03 PM   Validators in ASP.Net No comments
Compare Validator
 
In this article, I’m going to explain about the compare validator. The compare validator is used to compare the values entered in a one input control with another constant value or value entered against in another control.


Friday, January 11, 2013

Validators in ASP.Net – A word about WebResource.axd

By Francis   Posted at   11:11 PM   WebResource.axd No comments

A word about WebResource.axd:

          Its time to speak about the resource files, (As validation controls concern) which is included whenever the validation controls included in a aspx page.

 In older version of ASP.Net, the file “WebUIValidation.js” has been directly pointed out thru <script> tag. As we all know “WebUIValidation.js” is resides on the web server’s .Net installation folder,

Thursday, January 10, 2013

Validators in ASP.Net – Part 2

By Francis   Posted at   12:36 PM   Validators in ASP.Net
Range Validator:
In my Previous post, I have explain about the Required Field Validator. In this article I’m going to explain about the Range Validator.Like Required Field Validator, Range validator is a server side control, which is used to validate a value falls between 2 values.

Friday, January 4, 2013

Validators in ASP.Net - Part 1

By Francis   Posted at   9:00 AM   Validators in ASP.Net

For any application, validation performs a key role. For this Microsoft provides the following types of validators:
1. Required Field validator
2. Regular Expression Validator
3. Range Validator
4. Compare Validator
5. Custom Validator
6. Validation Summary

Connect with Us