SPLinkButton.OnClientClick Property
Gets or sets the client-side ECMA script to be run when the user clicks this SPLinkButton.
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 SPLinkButton
Dim value As String
value = instance.OnClientClick
instance.OnClientClick = value
public string OnClientClick { get; set; }
Property Value
Type: System.String
A string that contains the script.