set EventCollection of RAD Calendar using MVVM

2 posts, 0 answers
  1. Umesh
    Umesh avatar
    1 posts
    Member since:
    Apr 2011

    Posted 21 Apr 2011 Link to this post


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

    Thanks in Advance.
  2. Yana
    Yana avatar
    4947 posts

    Posted 27 Apr 2011 Link to this post

    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.

    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
Back to Top