Author: bt429 | Posted on: 9/22/2010 2:06:48 PM | Views : 466

Is it possible to customize or change in any way how the Validators render their javascript?  I'd like to either move the script tag out of the form, minify the js, etc. without having to manipulate the DOM.  For each validator control the framework renders something like...


var ctl00_Val = document.all ? document.all["ctl00_Val"] : document.getElementById("ctl00_Val");
ctl00_Val.controltovalidate = "some input id";
ctl00_Val.errormessage = "some error message";
ctl00_Val.display = "Dynamic";
ctl00_Val.evaluationfunction = "CustomValidatorEvaluateIsValid";


I want to either wire this up with jQuery or get it out of the page to lighten it up.  Has anybody done this in the past or have suggestions?
...

Go to the complete details ...