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

set EventCollection of RAD Calendar using MVVM

1 Answer 67 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Umesh
Top achievements
Rank 1
Umesh asked on 21 Apr 2011, 03:17 PM
Hi,

 I am using RAD calender to show Special Dates (Highlighted) using MVVM in silverlight.
can anybody please help me out.

Thanks in Advance.

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 27 Apr 2011, 09:01 AM
Hello Umesh,

This cannot be achieved so easy, because the DayTemplateSelector of RadCalendar is not a dependency object.  You can workaround this by setting the DayTemplateSelector in the code-behind. I've attached a simple example demonstrating the approach. Please download the attachment and try it.

Regards,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Umesh
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or