This is a migrated thread and some comments may be shown as answers.
RadCalendar & RadDatePicker, custom dates
4 Answers 78 Views
This is a migrated thread and some comments may be shown as answers.
Ryan Gavigan
Top achievements
Rank 1
Ryan Gavigan asked on 09 Jan 2009, 06:14 PM
Hi,

  I'm trying to get functionality in a control that from all looks so far can't be done with either the RadCalendar or RadDatePicker since it needs funcitonality of both.  I'm looking for a single date selection (picker, i.e. popup), but that also renders the calendar (highlighting/enabling only specific dates based on a retrieved data set of possible dates) using DayRender or similar.  So far it seems like it just isn't very feasible.  thanks for any help

Ryan

4 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 12 Jan 2009, 01:03 PM
Hello Ryan,

I am afraid I do not understand what exactly are you trying to do and why RadDatePicker does not fit in your scenario. Please provide more information.

Regards,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Ryan Gavigan
Top achievements
Rank 1
answered on 12 Jan 2009, 01:39 PM
sorry if i didn't make it clear.

What i'm trying to is the user is picking a date for one of many upcoming scheduled events (i.e for associating a unit to that particular event). Rather than displaying a list of the dates in a combo box to select from, I'm trying to have a date/calendar control popup that either only allows them to select those particular dates, and/or changes the properties of those dates on the calendar to give the user at least a guide to what would be a valid date selection.

Ryan
0
Erjan Gavalji
Telerik team
answered on 15 Jan 2009, 11:45 AM
Hi Ryan,

You could use the client-side API of RadCalendar to allow only specific dates to be chosen. The OnDataSelecting client event should do the right job for you. You can also set different styles to the dates you want to be enabled.

You could also check the RadCalendar section in our Code Library, there are several examples demonstrating how one can disable RadCalendar dates and customize their appearance.

Best,
Erjan Gavalji
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
cheburek
Top achievements
Rank 1
answered on 17 Jan 2011, 02:15 PM
I found this article. That may be useful for somebody.
You can refer to the following article for more information about how to disable calendar days in the calendar component of RadDatePicker.
Disabling calendar days
Asked by
Ryan Gavigan
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Ryan Gavigan
Top achievements
Rank 1
Erjan Gavalji
Telerik team
cheburek
Top achievements
Rank 1
Share this question
or