* ClientScriptManager.cs: fixed onsubmit script for MultiForm environment svn path=/trunk/mcs/; revision=84558
@@ -1,3 +1,7 @@
+2007-08-21 Igor Zelmanovich <[email protected]>
+
+ * ClientScriptManager.cs: fixed onsubmit script for MultiForm environment
2007-08-20 Marek Habersack <[email protected]>
* MasterPage.cs: use the place holder IDs collection instead of
@@ -741,7 +741,7 @@ return true;
}
", true);
if (page.IsMultiForm)
- return "javascript:return this.WebForm_OnSubmit();";
+ return "javascript:return " + page.theForm + ".WebForm_OnSubmit();";
else
return "javascript:return WebForm_OnSubmit();";