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=81280 --- shadow/81280 2007-03-31 17:18:38.000000000 -0500 +++ shadow/81280.tmp.32577 2007-04-03 06:47:24.000000000 -0400 @@ -1,22 +1,21 @@ Bug#: 81280 Product: Mono: Class Libraries Version: 1.2 -OS: +OS: unknown OS Details: Status: NEW Resolution: -Severity: +Severity: Unknown Priority: Normal Component: Sys.Web AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] TargetMilestone: --- URL: -Cc: Summary: RangeValidator should use inclusive range [w/ fix] When using a RangeValidator, you are to specify the min and max values for a rage. For example, you should be able to specify a range from 1 to 100, which would allow any value between 1 and 100 including the endpoints. However in mono's asp.net 2.0, this does not allow the endpoints. @@ -40,6 +39,9 @@ var val = Convert (ctrl_value, DataType, validator); - if (val == null || val <= MinimumValue || val >= MaximumValue) { + if (val == null || val < MinimumValue || val > MaximumValue) { ValidatorFailed (validator); return false; } + +------- Additional Comments From [EMAIL PROTECTED] 2007-04-03 06:47 ------- +See also: #81021 _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
