Author: gonzalo
Date: 2006-01-13 09:56:53 -0500 (Fri, 13 Jan 2006)
New Revision: 55511
Modified:
branches/mono-1-1-13/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
branches/mono-1-1-13/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:
branches/mono-1-1-13/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
===================================================================
---
branches/mono-1-1-13/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
2006-01-13 14:55:45 UTC (rev 55510)
+++
branches/mono-1-1-13/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
2006-01-13 14:56:53 UTC (rev 55511)
@@ -1,3 +1,8 @@
+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: use the DateTimeFormatInfo from the current thread. Patch
Modified:
branches/mono-1-1-13/mcs/class/System.Web/System.Web.UI.WebControls/RangeValidator.cs
===================================================================
---
branches/mono-1-1-13/mcs/class/System.Web/System.Web.UI.WebControls/RangeValidator.cs
2006-01-13 14:55:45 UTC (rev 55510)
+++
branches/mono-1-1-13/mcs/class/System.Web/System.Web.UI.WebControls/RangeValidator.cs
2006-01-13 14:56:53 UTC (rev 55511)
@@ -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