Hi,
I am trying to set backcolor of every timeslot according to working hours in a day. This means that if the slot comes between 0800 hrs and 1700hrs, the backcolor of the timeslot is white and if it falls beyond the given range i'm setting the backcolor to gray. This I am doing in the RadScheduler_TimeSlotCreated event. But it is not working.
protected
void RadScheduler_TimeSlotCreated(object sender, TimeSlotCreatedEventArgs e)
{
if (e.TimeSlot.Start.Hour < 8)
{
e.TimeSlot.CssClass =
"extended_business_hrs";
}
}
I am not even sure if the event is getting fired or not