Banner Ad

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 30, 2013

A Word about Client Side and Server Side Validation

By Francis   Posted at   11:42 AM   Validators No comments

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

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,
Connect with Us