Wednesday, January 30, 2013

A Word about Client Side and Server Side Validation


Most of the programmers are aware about the 2 types of validation. One is Server side validation and another one is Client side validation. Each of them had advantages and disadvantages also. For novice programmers, I just want to give brief intro about these.  

Wednesday, January 23, 2013

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


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

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

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

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


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