Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

Can't change weekend colors

$
0
0

I'm currently changing background colors of days using the following code:

 

ProtectedSubcalendar_TimeSlotCreated(sender AsObject, e AsTimeSlotCreatedEventArgs) Handlescalendar.TimeSlotCreated
        IfScheduleDates.Contains(e.TimeSlot.Start) Then
            e.TimeSlot.CssClass = "lightSalmon"
        EndIf
    EndSub

 

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?


Viewing all articles
Browse latest Browse all 84751


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>