This documentation is archived and is not being maintained.

Wizard::SideBarButtonClick Event

Occurs when a button in the sidebar area is clicked.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public:
virtual  event WizardNavigationEventHandler^ SideBarButtonClick {
	void add (WizardNavigationEventHandler^ value);
	void remove (WizardNavigationEventHandler^ value);
}
<asp:Wizard OnSideBarButtonClick="WizardNavigationEventHandler" />

The SideBarButtonClick event is raised when a button in the sidebar area on the Wizard control is clicked. Use the SideBarButtonClick event to provide additional processing when a button in the sidebar area is clicked.

NoteNote

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

For more information about handling events, see Consuming Events.

The following code example demonstrates how to specify an event handler for the SideBarButtonClick event. Each time the SideBarButtonClick event is raised, a message is written to the Text property for Label1 with information on which sidebar area button was clicked.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: