Hi,
How can I make css class of time slots in Radscheduler persist after postback. I am giving a colorful background to special days and times and I loose them after postback.
protected void rsTicketsSchedule_TimeSlotCreated(object sender, TimeSlotCreatedEventArgs e)
{
if ( condition1)
e.TimeSlot.CssClass = "Disabled";
if ( condition2)
e.TimeSlot.CssClass = "enabled";
}
To get the styles back, I have to rebind scheduler with every postback from the page. It affecting the performance of my application, I want to avoid this and make cssclass persist.
Thanks,
Prava
How can I make css class of time slots in Radscheduler persist after postback. I am giving a colorful background to special days and times and I loose them after postback.
protected void rsTicketsSchedule_TimeSlotCreated(object sender, TimeSlotCreatedEventArgs e)
{
if ( condition1)
e.TimeSlot.CssClass = "Disabled";
if ( condition2)
e.TimeSlot.CssClass = "enabled";
}
To get the styles back, I have to rebind scheduler with every postback from the page. It affecting the performance of my application, I want to avoid this and make cssclass persist.
Thanks,
Prava