ToolBarButton.OnClientClick Property
Gets or sets the client-side script that runs when the control is clicked.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property OnClientClick As String
Get
Set
'Usage
Dim instance As ToolBarButton
Dim value As String
value = instance.OnClientClick
instance.OnClientClick = value
public string OnClientClick { get; set; }
Property Value
Type: System.String
The client-side script.