SelectableDateStart rendering issue with default date

2 posts, 0 answers
  1. Robert
    Robert avatar
    1 posts
    Member since:
    Oct 2012

    Posted 31 Jan 2013 Link to this post

    Silverlight Q3 2012 SP1 RadDatePicker and RadDateTimePicker have an interesting rendering problem if the DisplayDateStart or DisplayDateEnd range does not include today's date.  When the dropdown RadCalendar is selected the current month is displayed with the buttons disabled and only the remaining days of the month visible.

    For example today is Jan 31 2013, if the DisplayDateEnd is Dec 31 2012 then I see 'Jan 30 2013' and 'Jan 31 2013' but cannot select them.  When I click the month back, instead of arriving at December 2012 I jump straight to November 2012. Then clicking forward brings me to December and the forward button to Jan is disabled as it should be.  There is no way back to the dates outside of the display range but on the very first opening of the calendar the behavior is messed up.

    The RadCalendar 'DisplayDate' attribute should be able to calculate if the current date (if used as a default value for null values) is greater than the max display date and select the lesser. Or alternatively if the min display date is greater than the current date.

    Is there any workaround for this without disabling the DisplayDate's and relying on SelectableDate's instead?
  2. Ventzi
    Ventzi avatar
    114 posts

    Posted 05 Feb 2013 Link to this post

    Hi Robert,

    Thank you for pointing us this issue out. I logged it in the PITS where you can track its progress. Possible workaround (without disabling the DisplayDate's) is to set the value of the DisplayDate property to the value of the DisplayDateEnd property. This will force the calendar to navigate to the last selectable date.

    Your Telerik points were also updated for your cooperation and we're sorry for the inconvenience caused.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
Back to Top