Version

ToolbarClick Event

Raised when a postback is raised by a toolbar button click.
Syntax
'Declaration
 
Public Event ToolbarClick As ToolbarClickEventHandler
public event ToolbarClickEventHandler ToolbarClick
Event Data

The event handler receives an argument of type ToolbarEventArgs containing data related to this event. The following ToolbarEventArgs properties provide information specific to this event.

PropertyDescription
Item Gets the ToolbarButton object responsible for this event.
Remarks

A ToolbarButton can raise a postback if it's ToolbarButton.RaisePostback property is true. When this occurs, the ToolbarClick will be raised. A ToolbarClickEventArgs object will be passed into this event. This object will include a ToolbarClickEventArgs.Button property which encapsulates the button which was clicked.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also