Defining your own Validation File (Web Applications)
Hi All,
One of the very tricky part of the dotnet web application is the facility of the validation web controls.
But what if you require some change on those methods ?
Yes you can modify the javascript validation file for your application. By default every .net web application, access the validaiton file resided in the asp_net_client directory of your wwwroot. But if you want to have your own validation file specfic to your application, you can do that, once you define, all your validation methods call will forward to that file.
What you have to do is to define a property in the web config file.
And now place the WebUIValidation.js in the script_files folder,
Wajahat Abbas
http://www.wajahatabbas.com
http://www.dotnetpakistan.com
One of the very tricky part of the dotnet web application is the facility of the validation web controls.
But what if you require some change on those methods ?
Yes you can modify the javascript validation file for your application. By default every .net web application, access the validaiton file resided in the asp_net_client directory of your wwwroot. But if you want to have your own validation file specfic to your application, you can do that, once you define, all your validation methods call will forward to that file.
What you have to do is to define a property in the web config file.
And now place the WebUIValidation.js in the script_files folder,
Wajahat Abbas
http://www.wajahatabbas.com
http://www.dotnetpakistan.com
0 Comments:
Post a Comment
<< Home