I'm using RadControls for WinForms 2008.3 1204.
Assume the following: I have a DateTimePicker and set the MinDate and MaxDate properties.
1. Is it possible to show the "invalid dates", means all dates not between MinDate and MaxDate, in the calendar popup with a certain format, for example strike out or red?
2. Is it possible to prevent the closing of the calendar popup, if no valid date has been selected? Although I can listen to the DateTimePicker's Closing event I don't see how to determine which date has been selected in the calendar popup.
3. If I don't prevent closing the popup (like at the moment) and the user did select an invalid date which has not been applied to the DateTimePicker, the date even stays selected in the calendar popup if I re-open it. Let's say the DateTimePicker's MinDate is set to 2009/01/10. I open the calendar popup and select 2009/01/01. The value will not be applied when the popup closes. But when I re-open it, 2009/01/01 is still shown as selected.
Any helpful hints?
Regards,
ReneMT
Assume the following: I have a DateTimePicker and set the MinDate and MaxDate properties.
1. Is it possible to show the "invalid dates", means all dates not between MinDate and MaxDate, in the calendar popup with a certain format, for example strike out or red?
2. Is it possible to prevent the closing of the calendar popup, if no valid date has been selected? Although I can listen to the DateTimePicker's Closing event I don't see how to determine which date has been selected in the calendar popup.
3. If I don't prevent closing the popup (like at the moment) and the user did select an invalid date which has not been applied to the DateTimePicker, the date even stays selected in the calendar popup if I re-open it. Let's say the DateTimePicker's MinDate is set to 2009/01/10. I open the calendar popup and select 2009/01/01. The value will not be applied when the popup closes. But when I re-open it, 2009/01/01 is still shown as selected.
Any helpful hints?
Regards,
ReneMT