SelectableDateEnd/Start When DateSelectionMode is Month

2 posts, 1 answers
  1. Allan
    Allan avatar
    5 posts
    Member since:
    Aug 2011

    Posted 20 Mar 2012 Link to this post

    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. 

  2. Answer
    Georgi avatar
    362 posts

    Posted 23 Mar 2012 Link to this post

    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.

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top