Author: igorz
Date: 2007-10-31 04:30:09 -0500 (Wed, 31 Oct 2007)
New Revision: 88542
Modified:
trunk/mcs/class/System.Web/System.Web.UI.WebControls/BaseValidator.cs
trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
Log:
2007-10-31 Igor Zelmanovich <[EMAIL PROTECTED]>
* BaseValidator.cs:
validator is rendered correct if EnabledClientClient is false.
Modified: trunk/mcs/class/System.Web/System.Web.UI.WebControls/BaseValidator.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI.WebControls/BaseValidator.cs
2007-10-31 09:01:33 UTC (rev 88541)
+++ trunk/mcs/class/System.Web/System.Web.UI.WebControls/BaseValidator.cs
2007-10-31 09:30:09 UTC (rev 88542)
@@ -514,10 +514,10 @@
#endif
}
else {
- if (Display == ValidatorDisplay.Static) {
+ if (Display != ValidatorDisplay.None) {
render_tags = !v;
render_text = !v;
- render_nbsp = v;
+ render_nbsp = v && Display ==
ValidatorDisplay.Static;
}
}
Modified: trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
2007-10-31 09:01:33 UTC (rev 88541)
+++ trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
2007-10-31 09:30:09 UTC (rev 88542)
@@ -1,3 +1,8 @@
+2007-10-31 Igor Zelmanovich <[EMAIL PROTECTED]>
+
+ * BaseValidator.cs:
+ validator is rendered correct if EnabledClientClient is false.
+
2007-10-30 Igor Zelmanovich <[EMAIL PROTECTED]>
* Image.cs: fixed management state of Enabled property.
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches