Hello,
I am able to successfully modify the CSS style for the purpose of applying a background color to any weekday but not to a weekend.
The SelectedDate receives the CSS class "SelectedDate" unless it is a weekend. Furthermore, I cannot simply apply the CSS class to the weekend. I am using x. 2010.3.1317.40.
Thanks!
I am able to successfully modify the CSS style for the purpose of applying a background color to any weekday but not to a weekend.
Protected
Sub
RadScheduler1_TimeSlotCreated(
ByVal
sender
As
Object
,
ByVal
e
As
Telerik.Web.UI.TimeSlotCreatedEventArgs)
Handles
RadScheduler1.TimeSlotCreated
If
(DateTime.Compare(e.TimeSlot.Start.[
Date
], RadScheduler1.SelectedDate) = 0)
Then
e.TimeSlot.CssClass =
"SelectedDate"
End
If
If
e.TimeSlot.Start.[
Date
].DayOfWeek = DayOfWeek.Saturday
Then
e.TimeSlot.CssClass =
"SelectedDate"
End
If
End
Sub
The SelectedDate receives the CSS class "SelectedDate" unless it is a weekend. Furthermore, I cannot simply apply the CSS class to the weekend. I am using x. 2010.3.1317.40.
Thanks!