System.Web.UI.WebControls.Wizard.OnSideBarButtonClick Method

Raises the Wizard.SideBarButtonClick event.

Syntax

protected virtual void OnSideBarButtonClick (WizardNavigationEventArgs e)

Parameters

e
A System.Web.UI.WebControls.WizardNavigationEventArgs containing event data.

Remarks

The Wizard.SideBarButtonClick event is raised when a button on the sidebar area is clicked.

Note:

The Wizard.SideBarButtonClick event does not raise an event if a System.Web.UI.WebControls.Button control with the Button.CommandName property set to Move is outside of the System.Web.UI.WebControls.DataList control's sidebar list for the Wizard.SideBarTemplate object.

Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.

The Wizard.OnSideBarButtonClick(WizardNavigationEventArgs) 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