Occurs when the current active View control becomes inactive.
Assembly: System.Web (in System.Web.dll)
The event is raised when the current active View control becomes inactive. A View control becomes inactive when the value of the ActiveViewIndex property changes or the SetActiveView method is called to specify a different View control. For example, if View1 is the active view within a MultiView control, when the ActiveViewIndex property changes to specify View2, the event is raised for View1 and the Activate event is raised for View2.
The following code example demonstrates how to specify and code an event handler for the event of a View control. When the active view changes, a message is displayed to the user specifying the View control that raised the Activate event and the View control that raised the event.