Share via


ToolBarButton.OnClick Method

Gets or sets the client-side script that runs when the Click event of the button is raised.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected Overridable Sub OnClick ( _
    e As EventArgs _
)
'Usage
Dim e As EventArgs

Me.OnClick(e)
protected virtual void OnClick(
    EventArgs e
)

Parameters

See Also

Reference

ToolBarButton Class

ToolBarButton Members

Microsoft.SharePoint.WebControls Namespace