Author: gonzalo
Date: 2006-01-13 09:55:45 -0500 (Fri, 13 Jan 2006)
New Revision: 55510
Modified:
trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
trunk/mcs/class/System.Web/System.Web.UI.WebControls/RangeValidator.cs
Log:
2006-01-13 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* RangeValidator.cs: allow empty data from the control. Patch from Marek
Habersack that fixes bug #77239.
Modified: trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
2006-01-13 14:53:46 UTC (rev 55509)
+++ trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
2006-01-13 14:55:45 UTC (rev 55510)
@@ -1,6 +1,12 @@
+2006-01-13 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
+
+ * RangeValidator.cs: allow empty data from the control. Patch from Marek
+ Habersack that fixes bug #77239.
+
2006-01-10 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
- * Calendar.cs: Modified file.
+ * Calendar.cs: use the DateTimeFormatInfo from the current thread. Patch
+ by Cyrille Colin. Closes bug #77184.
2006-01-08 Konstantin Triger <[EMAIL PROTECTED]>
Modified: trunk/mcs/class/System.Web/System.Web.UI.WebControls/RangeValidator.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI.WebControls/RangeValidator.cs
2006-01-13 14:53:46 UTC (rev 55509)
+++ trunk/mcs/class/System.Web/System.Web.UI.WebControls/RangeValidator.cs
2006-01-13 14:55:45 UTC (rev 55510)
@@ -115,7 +115,7 @@
string control_value;
control_value =
GetControlValidationValue(this.ControlToValidate);
- if (control_value == null) {
+ if (control_value == null || control_value == "") {
return true;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches