Occurs when the Scheduler control is about to change its active View.
public event ActiveViewChangingEventHandler ActiveViewChanging
Public Event ActiveViewChanging As ActiveViewChangingEventHandler
The ActiveViewChanging event's data class is ActiveViewChangingEventArgs. The following properties provide information specific to this event:
|Cancel||Gets or sets whether the change of active view should be cancelled.|
|NewView||Gets the new value of the ASPxScheduler.ActiveView property.|
|OldView||Gets the value of the ASPxScheduler.ActiveView property before modification.|
Handle the ActiveViewChanging event to perform an action every time the scheduler’s active view is changing. You can find out what type of view is currently active and change it via the ASPxScheduler.ActiveViewType property.