Wizard.SideBarButtonClick Event
Assembly: System.Web (in system.web.dll)
public: virtual event WizardNavigationEventHandler^ SideBarButtonClick { void add (WizardNavigationEventHandler^ value); void remove (WizardNavigationEventHandler^ value); }
/** @event */ public void add_SideBarButtonClick (WizardNavigationEventHandler value) /** @event */ public void remove_SideBarButtonClick (WizardNavigationEventHandler value)
In JScript, you can handle the events defined by a class, but you cannot define your own.
Not applicable.
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.
Note: |
|---|
| 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.
Note: