I have a Scheduler control that implements a custom appointment BackColor for each specific user. The color works fine when in Day view or Week view, but when I switch to Agenda view the color doesn't show up. I'm using the Metro skin. I can't seem to find anything in the .rsAgendaView style that seems to be preventing the BackColor from working. When I test with ForeColor it works fine.
Protected
Sub
rsMeetings_AppointmentDataBound(
ByVal
sender
As
Object
,
ByVal
e
As
Telerik.Web.UI.SchedulerEventArgs)
Handles
rsMeetings.AppointmentDataBound
Dim
dc
As
String
If
e.Appointment.Attributes.Item(
"StaffEmployeeID"
).ToString <>
Nothing
Then
dc = GetAppointmentColor(e.Appointment.Attributes.Item(
"StaffEmployeeID"
).ToString)
e.Appointment.BackColor = System.Drawing.Color.FromName(dc)
'e.Appointment.ForeColor = System.Drawing.Color.FromName(dc)
End
If
End
Sub