I am getting the following error if I set the ClientValidationFunction property for the MaskedEditValidator.
Microsoft JScript runtime error: 'value' is undefined
The work around is to turn off the minified script by using the following
<ajaxToolkit:ToolkitScriptManager runat="server" ID="ScriptManager1" CombineScripts="false" />
Comments: I have been using an workaround for this. Since the code was minified we need to make a closure to make those variables go ahead. So instead of using: ``` ClientValidationFunction="ValidateCPF" ``` We are using: ``` ClientValidationFunction="(function(){ValidateCPF(a, k);})" ``` Where "a" and "k" are the name of each variable that was minified.
Microsoft JScript runtime error: 'value' is undefined
The work around is to turn off the minified script by using the following
<ajaxToolkit:ToolkitScriptManager runat="server" ID="ScriptManager1" CombineScripts="false" />
Comments: I have been using an workaround for this. Since the code was minified we need to make a closure to make those variables go ahead. So instead of using: ``` ClientValidationFunction="ValidateCPF" ``` We are using: ``` ClientValidationFunction="(function(){ValidateCPF(a, k);})" ``` Where "a" and "k" are the name of each variable that was minified.