How to color code the appointments in RadScheduler by catego

Posted by Community Admin on 04-Aug-2018 23:34

How to color code the appointments in RadScheduler by category

All Replies

Posted by Community Admin on 16-Apr-2013 00:00

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?

Posted by Community Admin on 19-Apr-2013 00:00

Hello Prateek,

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

<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" />
                       </ResourceStyles>
Here's the demo page:
http://demos.telerik.com/aspnet-ajax/scheduler/examples/overview/defaultcs.aspx#qsf-demo-source
Here's some more information about ResourceStyles:

http://blogs.telerik.com/aspnetmvcteam/posts/09-04-08/easy-appointment-styling-with-radscheduler-for-asp-net-ajax.aspx

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

This thread is closed