System.Web.UI.WebControls.MultiView.OnActiveViewChanged Method

Raises the MultiView.ActiveViewChanged event of a System.Web.UI.WebControls.MultiView control.

Syntax

protected virtual void OnActiveViewChanged (EventArgs e)

Parameters

e
A EventArgs that contains the event data.

Remarks

The MultiView.ActiveViewChanged event is raised when the active System.Web.UI.WebControls.View control within a System.Web.UI.WebControls.MultiView control changes between posts to the server, and you can provide a custom handler for this event.

Raising an event invokes the event handler through a delegate. For more information, see How to: Consume Events in a Web Forms Application.

The MultiView.OnActiveViewChanged(EventArgs) method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.

Requirements

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