Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > Calendar > WPF Calendar SelectableDateStart issues

Not answered WPF Calendar SelectableDateStart issues

Feed from this thread
  • Fanis avatar

    Posted on Jun 24, 2011 (permalink)

    Hi,

    First I apologize if the following issues are already replied.

    I am using the WPF Calendar and I have the following issues:

    1. When I try to set the SelectableDateStart to a date prior to current Month (e.g 20 May 2011)

    calendar starts again from current month (June in our case).

    How is it possible to show calendar starting from the right month?

    In my example I use the following dates:

    SelectableDateStart: 20 May 2011

    SelectableDateEnd: 26 October 2011

    I also calculate the DisplayDateStart to be the first day of SelectableDateStart,

    and DisplayDateEnd to be the last day of SelectableDateEnd.

    1.  When I try to set SelectableDateStart to a date after the current month (e.g 8 July 2011)

    I get an ArgumentOutOfRangeException:

    Invalid DisplayDateStart value.

    Parameter name: sender


    Thanks in advance

    Reply

  • Yana Yana admin's avatar

    Posted on Jun 30, 2011 (permalink)

    Hello Fanis,

    I would suggest to set DisplayDate property of the RadCalendar.  Also check out this help article which explains in details how to constrain the selection and visible days.

    All the best,
    Yana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

    Reply

  • Fanis avatar

    Posted on Jun 30, 2011 (permalink)

    Thanks a lot.. It works fine now..

    Reply

  • Veda avatar

    Posted on Jul 8, 2011 (permalink)

    Is any property available for Constraining Selection and Visibility of Time in Telerik DateTime Picker.
    the SelectableDateEnd only set the Date not time. What should i do if i want to restrict some time as Selectable Time end?



    Regards,
    Veda

    Reply

  • Yana Yana admin's avatar

    Posted on Jul 8, 2011 (permalink)

    Hi Veda,

    I'm afraid that RadDateTimePicker doesn't provide properties which limit the time. SelectableDateStart and SelectableDateEnd are inherited from RadCalendar, that's why they restrict only the date.

    Greetings,
    Yana
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > Calendar > WPF Calendar SelectableDateStart issues
Related resources for "WPF Calendar SelectableDateStart issues"

WPF Calendar Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]