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)

abstract SideBarButtonClick : IEvent<WizardNavigationEventHandler,
    WizardNavigationEventArgs>
override SideBarButtonClick : IEvent<WizardNavigationEventHandler,
    WizardNavigationEventArgs>

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.

System_CAPS_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 NIB: 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
Available since 2.0
Return to top
Show: