System.Web.UI.WebControls.View.Deactivate Event

Occurs when the current active System.Web.UI.WebControls.View control becomes inactive.

Syntax

public event EventHandler Deactivate

Remarks

The View.Deactivate event is raised when the current active System.Web.UI.WebControls.View control becomes inactive. A System.Web.UI.WebControls.View control becomes inactive when the value of the MultiView.ActiveViewIndex property changes or the MultiView.SetActiveView(View) method is called to specify a different System.Web.UI.WebControls.View control. For example, if View1 is the active view within a System.Web.UI.WebControls.MultiView control, when the MultiView.ActiveViewIndex property changes to specify View2, the View.Deactivate event is raised for View1 and the View.Activate event is raised for View2.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0