V J

Wednesday, May 18, 2005

Overriding the Asp.Net Validation file.

By default ASP.Net provides a number of validation controls which makes life easy for doing validation especially client side validation. What its actually do... all validations calls are delegated to a a file named as "WebUIValidation.js", this file is resides in the aspnet_client folder of your inetpub folder. This file contains all the validation java script methods, you can also add your validation java script methods here or can overide old methods. Well if you have designed some specfic file for validation and want that to be available for only your project, enter the following entry in your web config file (the path of the file), it will then call that file for validation, not then one provided by default. this is easy.....

1 Comments:

Post a Comment

<< Home