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

Highlight multiple selected dates with different colors

2 Answers 64 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Alexander
Top achievements
Rank 1
Alexander asked on 19 Jun 2014, 09:00 PM
Hello,
I need to highlight some calendar selected dates with red colour and some with grey. Could you please advise how it's easier to do with radcalendar?

Thanks
Alex

2 Answers, 1 is accepted

Sort by
0
Masha
Telerik team
answered on 23 Jun 2014, 07:21 AM
Hello,

RadCalendar does not support the described scenario out-of-the-box. I suggest that you create a Custom Visual state inside of SelectionStates VisualGroup of CalendarButtonStyle. After that  you can use an attached property with desired logic to control the newly created VisualState.

I've attached a sample solution demonstrating the above approach.
Hope it helps.

Regards,
Masha
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Alexander
Top achievements
Rank 1
answered on 23 Jun 2014, 08:51 PM
Thanks a lot!
Tags
Calendar
Asked by
Alexander
Top achievements
Rank 1
Answers by
Masha
Telerik team
Alexander
Top achievements
Rank 1
Share this question
or