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 [EMAIL PROTECTED]

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

--- shadow/76641        2005-11-07 12:46:23.000000000 -0500
+++ shadow/76641.tmp.23380      2005-11-07 12:46:23.000000000 -0500
@@ -0,0 +1,41 @@
+Bug#: 76641
+Product: Mono: Class Libraries
+Version: 1.1
+OS: other
+OS Details: RedHat Enterprise 4
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: BaseValidator does not render client side control name when controls 
are nested
+
+Description of Problem:
+
+Validator controls when nested in named controls incorrectly render the 
+client side ControlToRender properties.
+
+Page Control Setup:
+
+<page>
+  <usercontrol>
+    <validator ControlToValidate="tb" />
+    <textbox id="tb" />
+  </usercontrol>
+</page>
+
+When using a page hierarchy such as this the validator control renders 
+ControlToValidate="tb" to the client when it should render "_ctl0_tb".
+
+The textbox correctly render it's ClientID as "_ctl0_tb".
+
+The BaseValidatorControls "AddAttributesToRender" method uses the value 
+of "ControlToValidate" to render the value. It should use the ClientID 
+property of the control indicated by ControlToValidate - i.e. FindControl
+(ControlToValidate).ClientID
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to