Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.