Then you need to define two DataTemplates – one for the “red” appointments and another for the “green” appointments:
Add the AppointmentTemplateSelector to the resources:
Set the AppointmentTemplateSelector property of RadScheduler:
The result of the above code will be red today’s appointments, whereas all other appointments will appear in green:
Download the source code for Silverlight and stay tuned for more in our Q2 release.
Copyright © 2002-2016 Telerik. All rights reserved.
Powered by Telerik