How to color code the appointments in RadScheduler by category
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?
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
>