[Mono-bugs] [Bug 76565][Maj] New - Error Page_Validators is undefined in Internet Explorer

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Oct 26 15:11:47 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by schwimmlehrer at hotmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=76565

--- shadow/76565	2005-10-26 15:11:47.000000000 -0400
+++ shadow/76565.tmp.25178	2005-10-26 15:11:47.000000000 -0400
@@ -0,0 +1,58 @@
+Bug#: 76565
+Product: Mono: Class Libraries
+Version: 1.1
+OS: SUSE 9.2
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: schwimmlehrer at hotmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Error Page_Validators is undefined in Internet Explorer
+
+Description of Problem:
+When viewing a page using a server-side form without Validators I get a
+JavaScript error (only in Internet Explorer). 
+
+<form runat=server>
+<asp:button OnClick="Find_Click" id="findbutton" runat=server/>
+</form>
+
+Steps to reproduce the problem:
+1. Open a Page with a server-side form but without field validators in
+Internet Explorer
+
+Actual Results:
+JavaScript error (message window only if Internet Explorer is configured
+for that, otherwise a Small Alert-Sign in the Statust Bar).
+
+Expected Results:
+No JavaScript error.
+
+How often does this happen? 
+Always
+
+Additional Information:
+The error message is "Page_Validators is undefined". Page_Validators is
+only defined if a form contains Validators. Here is an example output
+generated out of a page with validators. This page does not show the
+JavaScript error, because Page_Validators is defined:
+
+<script language="javascript">
+<!--
+	var Page_ValidationSummaries =  new Array(document.getElementById
+('validationsummary'));
+	var Page_Validators =  new Array(document.getElementById ('emailinvalid'),
+document.getElementById ('passwordunique1'), document.getElementById
+('PictureCustomValidator2'), document.getElementById
+('PictureCustomValidator1'));
+// -->
+</script>
+
+I am using Internet Explorer 6.


More information about the mono-bugs mailing list