Marking days free/busy

3 posts, 0 answers
  1. Thomas
    Thomas avatar
    6 posts
    Member since:
    Jan 2012

    Posted 19 Jan 2012 Link to this post

    Hi everyone,

    I have a solution allowing the user to choose a departure date using a RadCalendar control.

    Using the DayTemplateSelector of RadCalendar, I can indicate the available days (not all days have departures) by using a bold font (the solution's a bit too complicated to post here, but it's lifted directly from a telerik example)

    Now we need to support several departures per day, so I started looking at the RadDateTimePicker - but there's no way I can see to access the DayTemplateSelector property of the calendar part of the RadDateTimePicker.

    Does anyone have any ideas?

    /thomas
  2. Dani
    Admin
    Dani avatar
    848 posts

    Posted 20 Jan 2012 Link to this post

    Hi Thomas,

    RadDateTimePicker has a CalendarStyle property which you can use to set properties to the RadCalendar part of the control just as you would on a regular RadCalendar.

    I hope this helps.


    Kind regards,
    Dani
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. DevCraft banner
  4. Thomas
    Thomas avatar
    6 posts
    Member since:
    Jan 2012

    Posted 20 Jan 2012 Link to this post

    That worked - clever.

    Thanks Dani

    /Thomas
Back to Top