This is a migrated thread and some comments may be shown as answers.

SelectableDateEnd/Start When DateSelectionMode is Month

1 Answer 23 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Allan
Top achievements
Rank 1
Allan asked on 20 Mar 2012, 09:37 PM
I have a very straightforward issue. I'd like to be able to set the SelectableDateEnd and SelectableDateStart properties on a couple of DateTimePicker controls with the DateSelectionMode set as "Month." However, the months don't gray out like the days do when the selection mode is set as "Day." Maybe I just missed it, but I didn't see this issue in the Issue Tracker. I'd rather not have to extend the control for something like this, so am wondering if there are any plans for a fix in the near future. 

Thanks,
Kyle

1 Answer, 1 is accepted

Sort by
0
Accepted
Georgi
Telerik team
answered on 23 Mar 2012, 01:54 PM
Hi Kyle,

This behavior is expected. Imagine that you are not in MonthView and want to navigate thought the months, this wouldn't be possible if they are not selectable. Maybe we have to consider the situation when you are using only MonthView and think about making the months not selectable. What you can do is use DisplayDateStart and  DisplayDateEnd and the months won't be visible. Another option is to edit the CalendarTemplate and make the desired months disabled.

Greetings,
Georgi
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
DateTimePicker
Asked by
Allan
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or