Hi,
I have noticed that is possible in code to set the MinDate as greater than the MaxDate on the RadDateTimePicker. When the aspx is then rendered, an ArgumentOutOfRangeException is thrown. It is only thrown on the OnPreRender event of the control, and no opportunity is given to catch and handle it without overriding OnPreRender for the control.
Can I ask that the control be changed to make it possible for such exceptions to be caught when the MinDate and MaxDate properties are set? This seems a much more sensible time to throw such an exception, as it seems quite unusual to have to override prerender to prevent a control from blowing up an entire aspx page?
Craig
I have noticed that is possible in code to set the MinDate as greater than the MaxDate on the RadDateTimePicker. When the aspx is then rendered, an ArgumentOutOfRangeException is thrown. It is only thrown on the OnPreRender event of the control, and no opportunity is given to catch and handle it without overriding OnPreRender for the control.
Can I ask that the control be changed to make it possible for such exceptions to be caught when the MinDate and MaxDate properties are set? This seems a much more sensible time to throw such an exception, as it seems quite unusual to have to override prerender to prevent a control from blowing up an entire aspx page?
Craig