RadCalender

3 posts, 1 answers
  1. swapnil
    swapnil avatar
    9 posts
    Member since:
    Feb 2014

    Posted 15 Feb 2014 Link to this post

    Hi Telerik Team,
                                 I am using Rad Calender in our Silver light app. i want to display dates with different Foreground and background color depending on date(for eg  if it is weekly off then date is mark as red with heading as "Holiday",if date is  festival then date is mark as blue with heading "Festival" and others like this .how i achieve this functionality me for this .
  2. Answer
    Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 19 Feb 2014 Link to this post

    Hello,

    In order to customize the Style of each CalendarButton in the RadCalendar you will need to create a custom StyleSelector and override its SelectStyle method. In that method you can implement a custom logic that return a custom Style for specific date.

    You can take a look at our "WeekdaysButtonStyleSelector" SDK example that is available here. You can download the entire XAML SDK repository as a zip file via this link.

    Regards,
    Vladi
    Telerik
  3. DevCraft banner
  4. swapnil
    swapnil avatar
    9 posts
    Member since:
    Feb 2014

    Posted 19 Feb 2014 in reply to Vladi Link to this post

    Thanks a lot
Back to Top