This is a migrated thread and some comments may be shown as answers.

Marking days free/busy

2 Answers 80 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 19 Jan 2012, 03:12 PM
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 Answers, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 20 Jan 2012, 08:17 AM
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 >>
0
Thomas
Top achievements
Rank 1
answered on 20 Jan 2012, 01:25 PM
That worked - clever.

Thanks Dani

/Thomas
Tags
DateTimePicker
Asked by
Thomas
Top achievements
Rank 1
Answers by
Dani
Telerik team
Thomas
Top achievements
Rank 1
Share this question
or