System.Web.UI.WebControls.View.Activate Event

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

Syntax

public event EventHandler Activate

Remarks

The View.Activate event is raised when the current System.Web.UI.WebControls.View control becomes the active view. This occurs 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.Activate event is raised for View2 and the View.Deactivate event is raised for View1.

Requirements

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