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)

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