|
ValidatorCommonOnSubmit() is undefined 1.1 sp1 is bad news |
|
Having a problem getting your form elements to post back, because your form tag is returining false?
Watch out when applying this service pack to your machine. It changes the way validators work, but doesn’t change the framework version number.
Any code you produce / edit after applying this service pack will not work on non service packed servers unless you manually copy over the
\aspnet_client\system_web\1_1_4322 folder…
It appears that the windows 2003 service pack is not compatible with the one for non windows 2003 machines,
The 2003 file WebUIValidation.js is dated 8/1/2004
where the non 2003 version is dated 7/15/2004,
and the non sp1 version is dated 2/30/2003….
You are going to need to manually manage this file until Microsoft gets this fixed…
-Dan
This is the correct function
function ValidatorCommonOnSubmit()
{
event.returnValue = !Page_BlockSubmit;
ret_Val = !Page_BlockSubmit;
Page_BlockSubmit = false;
return ret_Val;
}