[Mono-bugs] [Bug 77152][Nor] New - JS error when using
CompareValidator
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Jan 4 05:56:12 EST 2006
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 vigs at lycos.com.
http://bugzilla.ximian.com/show_bug.cgi?id=77152
--- shadow/77152 2006-01-04 05:56:12.000000000 -0500
+++ shadow/77152.tmp.26580 2006-01-04 05:56:12.000000000 -0500
@@ -0,0 +1,63 @@
+Bug#: 77152
+Product: Mono: Tools
+Version: 1.1
+OS: unknown
+OS Details: WinXP & Ubuntu 5.10
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: tools
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: vigs at lycos.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: JS error when using CompareValidator
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Compare Validators on a web form are generating JS error (Object expected)
+during post-back.
+
+Steps to reproduce the problem:
+1. Create a webform with two textboxes and one CompareValidator control.
+2. Set 'ControlToCompare' to the first textbox and 'ControlToValidate' to
+the second one.
+3. Add a button to the page.
+4. Run the application and hit the button.
+
+Actual Results:
+JS error (Object expected) on the line
+[code]result = evalfunc (vo);[/code]
+located in the function Page_ClientValidate()
+
+Expected Results:
+No JS error.
+
+How often does this happen?
+Always.
+
+Additional Information:
+
+<%@ Page language="c#"%>
+<HTML>
+ <HEAD>
+ <title>WebForm1</title>
+ </HEAD>
+ <body>
+ <form id="Form1" method="post" runat="server">
+ <asp:TextBox id="TextBox1" runat="server"></asp:TextBox>
+ <asp:TextBox id="TextBox2" runat="server"></asp:TextBox>
+ <asp:CompareValidator id="CompareValidator1" runat="server"
+ ErrorMessage="CompareValidator"
+ ControlToValidate="TextBox2"
+ ControlToCompare="TextBox1">
+ </asp:CompareValidator>
+ <br>
+ <asp:Button id="Button1" runat="server" Text="Button"></asp:Button>
+ </form>
+ </body>
+</HTML>
More information about the mono-bugs
mailing list