More in this section

Forums / Developing with Sitefinity / How to color code the appointments in RadScheduler by category

How to color code the appointments in RadScheduler by category

2 posts, 0 answered
  1. Prateek
    Prateek avatar
    12 posts
    11 Sep 2012
    16 Apr 2013
    Link to this post
    I am using a RadScheduler to display the events in my Sitefinity website. The events have categories which too are in SItefinity. 
    How do i color code the events by category while binding the data?
  2. Jen Peleva
    Jen Peleva avatar
    568 posts
    10 Nov 2016
    19 Apr 2013
    Link to this post
    Hello Prateek,

     Please check the RadScheduler demo, where this functionality is achieve with ResourceStyles:

                                <%--AppointmentStyleMode must be explicitly set to Default (see above) otherwise setting BackColor/BorderColor
                                     will switch the appointments to Simple rendering (no rounded corners and gradients)--%>
                                <telerik:ResourceStyleMapping Type="Calendar" Text="Personal"
                                     BorderColor="#abd962" />
                                <telerik:ResourceStyleMapping Type="Calendar" Text="Work"
                                     BorderColor="#25a0da" />
    Here's the demo page:
    Here's some more information about ResourceStyles:

    Kind regards,
    Jen Peleva
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered