RadDatePicker MaxDate?

4 posts, 0 answers
  1. Matthew
    Matthew avatar
    13 posts
    Member since:
    Jan 2009

    Posted 06 Feb 2009 Link to this post

    There is a field in the RadCalendar for MaxDate / MinDate but I do not see a field like this in your documentation for RadDatePicker.  Is there a way to achieve this functionality?
  2. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 10 Feb 2009 Link to this post

    Hi Matthew,

    MaxDate and MinDate are the latest and earliest representable date and they are constants shared between the Calendar & DatePicker.

    If you would like to restrict the selectable range or the browsing (display) range of the Calendar or DatePicker, you can use the

    SelectableDateStart/End and DisplayDateStart/End properties. An example can be seen here:

    http://demos.telerik.com/silverlight/#Calendar/SelectionRange

    If you would like greater control over the selection, you can have a look at this example, using DataTemplates:

    http://demos.telerik.com/silverlight/#Calendar/SelectionConstraints

    Hopefully this is what you need,

    All the best,

    Miroslav
    the Telerik team

     


    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft banner
  4. Adam
    Adam avatar
    6 posts
    Member since:
    Apr 2009

    Posted 09 Aug 2010 Link to this post

    The second link is broken. Is there an example of how to use the template selector to restrict the selectable dates?

    I've noticed the DayTemplateSelector is deprecated.
  5. George
    Admin
    George avatar
    1332 posts

    Posted 11 Aug 2010 Link to this post

    Hi Adam,

    Thank you for contacting us.

    You could refer to this topic in our forums - http://www.telerik.com/community/forums/silverlight/datepicker/customize-raddatepicker-silverlight.aspx

    Please do not hesitate to contact us if you require any further information.

    Sincerely yours,
    George
    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
Back to Top