There is a problem when using the new feature included in Q32010 for highlighting multiple timeslots then using the context menu to create a new appointment if you set the background color of the timeslots dynamically in the TimeSlotCreated event.
ex:
what ends up getting rendered is this:
The problem is that because the styles for the background color are applied directly to the element, the class styles are not being overridden.
Is there another way I can set the background color for a timeslot that would fix this problem? Also, is there a way to change the color of the SelectedSlot through a property and not directly overriding the style on the page or using a skin?
ex:
void Schedule_TimeSlotCreated(object sender, Telerik.Web.UI.TimeSlotCreatedEventArgs e) { e.TimeSlot.Control.BackColor = Color.FromArgb(230, 230, 230);}what ends up getting rendered is this:
<td style="background-color: rgb(230, 230, 230);" class="rsSelectedSlot"> </td>The problem is that because the styles for the background color are applied directly to the element, the class styles are not being overridden.
Is there another way I can set the background color for a timeslot that would fix this problem? Also, is there a way to change the color of the SelectedSlot through a property and not directly overriding the style on the page or using a skin?