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

Changing the background of days with appointments

2 Answers 21 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ryan
Top achievements
Rank 1
Ryan asked on 25 Jun 2013, 01:26 AM
Hi,

I would like to use a different background and text colour for days with appointments. I initially followed the "Special days" example, however it appears that this initially executes without appointment information as CalendarButtonContentInfo.Appointments was always zero and only had the real data in there when I clicked on the day.

Is there an easy way to do this?

Thanks
Ryan

2 Answers, 1 is accepted

Sort by
0
Accepted
Todor
Telerik team
answered on 27 Jun 2013, 04:04 PM
Hello Ryan,

Thank you for writing.

With the current implementation of RadCalendar you can not use this approach. However as it seems very reasonable, we are going to allow you to update the template after the appointments have been loaded. The fix will become as part of our next internal build. I have updated your Telerik points for your cooperation.

Regards,
Todor
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Ryan
Top achievements
Rank 1
answered on 27 Jun 2013, 06:18 PM
Thanks Todor,

In the mean time, I worked around it by created a static hashset of dates. Not the most elegant solution but it works all the same :)

Ryan
Tags
Calendar
Asked by
Ryan
Top achievements
Rank 1
Answers by
Todor
Telerik team
Ryan
Top achievements
Rank 1
Share this question
or