Calendar and refresh bold Days with custom date collection

2 posts, 0 answers
  1. Filipe
    Filipe avatar
    16 posts
    Member since:
    Jun 2011

    Posted 25 May 2012 Link to this post

    Hello.

    I have a problem with the radcalendar that i believe it's the same that i have with the standard silverlight calendar.

    I have a date collection (List<DateTime>) available in my view model, that i want to use in the calendar to mark all the days that have appointments. I saw all your examples and maybe because I am not a silverlight experienced user, I couldn't put the collection to feed the bold days and to refresh them.
    Can you help me?

    It's very important.

    Thanks

    Filipe
  2. Filipe
    Filipe avatar
    16 posts
    Member since:
    Jun 2011

    Posted 28 May 2012 Link to this post

    I found out how to solve it.

    I used:

    ScheduleCalendar.DayTemplateSelector = null;
                    ScheduleCalendar.DayTemplateSelector = this.Resources["EventDayTemplateSelector"] as EventDayTemplateSelector;

     

     

    and it refreshed the calendar and the bold days started to appear at the right time.

    Filipe

  3. DevCraft banner
Back to Top