Thank you for writing.
When you change the active view in RadScheduler
, a new SchedulerView
is created if an already cached view of the same type does not exist. The ShowWeekend
property is available at ISupportShowWeekend
view level. Hence, when you change to MonthView
for the first time, the ShowWeekend
property is set to true
because a new view is created. However, if you switch to another view and come back to MonthView
, the ShowWeekend
property will have the last value assigned to this view because of the cached value. That is why you can use the ActiveViewChanging
to detect the ShowWeekend
property value of the previous view and in the ActiveViewChanged
event assign it to the new ISupportShowWeekend
I hope this information helps. Should you have further questions I would be glad to help.
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer
and share your thoughts.