I added a couple of resources declaratively and the scheduler is nicely providing the dropdownlists and updating the DB.
I don't seem to be able to access the resource in the AppointmentDataBound, the GetResourceByType for my resource is never found?
protected void RadScheduler1_AppointmentDataBound(object sender, SchedulerEventArgs e)
{
if (e.Appointment.Resources.GetResourceByType("APType") != null)
{
switch (e.Appointment.Resources.GetResourceByType("APType").Text)
{
case "Individual Session":
e.Appointment.CssClass = "rsCategoryYellow";
break;
I wanted to use them to style the appointment like this:
http://docs.telerik.com/devtools/aspnet-ajax/controls/scheduler/appearance-and-styling/setting-styles-for-appointments