I want my appointments to render color coded, and what I've done looks good in FireFox, but not in IE.
I've set up a series of CSS styles like this:
Now I want to I assign them to appointments, based upon values contained in the underlying data table from which I'm constructing the appointments.
I see this example from the RadScheduler documentation:
The problem is that I need to compute which style to apply, and I don't know how to pull that data out of "sender" or "e".
What's the smart way to do this?
I've set up a series of CSS styles like this:
.PlannerItemColorScheme
12
Color
00
{
background-color
:
#72EDDE
; }
Now I want to I assign them to appointments, based upon values contained in the underlying data table from which I'm constructing the appointments.
I see this example from the RadScheduler documentation:
protected
void
RadScheduler1_AppointmentDataBound(
object
sender, Telerik.Web.UI.SchedulerEventArgs e)
{
e.Appointment.CssClass =
"MyCustomAppointmentStyle"
;
}
The problem is that I need to compute which style to apply, and I don't know how to pull that data out of "sender" or "e".
What's the smart way to do this?