Author: gonzalo
Date: 2005-11-18 14:40:45 -0500 (Fri, 18 Nov 2005)
New Revision: 53243
Modified:
trunk/mcs/class/System.Web/System.Web.UI.WebControls/BaseValidator.cs
trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
Log:
2005-11-18 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* BaseValidator.cs: 'controltovalidate' must be the ClientID of the
control to validate. Fixes bug #76641.
Modified: trunk/mcs/class/System.Web/System.Web.UI.WebControls/BaseValidator.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI.WebControls/BaseValidator.cs
2005-11-18 19:14:23 UTC (rev 53242)
+++ trunk/mcs/class/System.Web/System.Web.UI.WebControls/BaseValidator.cs
2005-11-18 19:40:45 UTC (rev 53243)
@@ -241,7 +241,7 @@
writer.AddAttribute(HtmlTextWriterAttribute.Id, ClientID);
if (ControlToValidate != String.Empty)
- writer.AddAttribute
("controltovalidate", ControlToValidate);
+ writer.AddAttribute
("controltovalidate", GetControlRenderID (ControlToValidate));
if (ErrorMessage != String.Empty)
writer.AddAttribute ("errormessage",
ErrorMessage);
Modified: trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
2005-11-18 19:14:23 UTC (rev 53242)
+++ trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
2005-11-18 19:40:45 UTC (rev 53243)
@@ -1,5 +1,10 @@
2005-11-18 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+ * BaseValidator.cs: 'controltovalidate' must be the ClientID of the
+ control to validate. Fixes bug #76641.
+
+2005-11-18 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
* BoundColumn.cs: when the column is readonly and we're in edit mode,
keep it as a TextBox. Fixes bug #76714.
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches