I'm currently changing background colors of days using the following code:
ProtectedSubcalendar_TimeSlotCreated(sender AsObject, e AsTimeSlotCreatedEventArgs) Handlescalendar.TimeSlotCreated
e.TimeSlot.CssClass = "lightSalmon"
Everything works fine except for weekend days. I know for a fact that my ScheduleDates contains weekend dates because I've debugged it. Every day color is being changed but the weekend days remain unaffected. Any ideas?
1 Answer, 1 is accepted
answered on 19 Nov 2015, 01:21 PM
Thank you for contacting Telerik Support.
I have performed some local tests, regarding the described inability to apply the custom CssClass on the time slots for the weekends, but it seems to work properly at my end.
Could you inspect the element for the weekend timeslots with your developer tool the preferable browser, just to verify if the CssClass is applied to that slot. If it is applied, but the styles are not - you may want to enforce your selectors, using !important for example.
Hope this would help.
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items