[Mono-bugs] [Bug 77793][Wis] New - CompareValidator can't find controls in it's naming container

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Mar 15 15:32:14 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 davesw at provide.net.


--- shadow/77793	2006-03-15 15:32:14.000000000 -0500
+++ shadow/77793.tmp.24111	2006-03-15 15:32:14.000000000 -0500
@@ -0,0 +1,39 @@
+Bug#: 77793
+Product: Mono: Class Libraries
+Version: 1.0
+OS Details: XSP Under Linux or XSP under Windows
+Status: NEW   
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: davesw at provide.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: CompareValidator can't find controls in it's naming container
+Description of Problem:
+The CompareValidator fails to find controls that are contained in a naming
+container (INamingContainer), even if it's in the same naming container.
+Steps to reproduce the problem:
+1. Run the attached test case. 
+2. Click the test button.
+Actual Results:
+An exception saying "Unable to locate ControlToCompare with id `*'".
+Expected Results:
+A validation message.
+How often does this happen? 
+Always under mono. Works correctly under .Net.
+Additional Information:
+Note that in order to keep the test self-contained I used a Repeater. It's
+more usual that I would see the problem with a a UserControl (ascx) that
+implements INamingContainer.

More information about the mono-bugs mailing list