I'm currently changing background colors of days using the following code:
Protected
Sub
calendar_TimeSlotCreated(sender
As
Object
, e
As
TimeSlotCreatedEventArgs)
Handles
calendar.TimeSlotCreated
If
ScheduleDates.Contains(e.TimeSlot.Start)
Then
e.TimeSlot.CssClass =
"lightSalmon"
End
If
End
Sub
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?