PublishingButton.ClientOnClickScript Property
Script that is executed when this button is clicked.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Property ClientOnClickScript As String
Get
Set
'Usage
Dim instance As PublishingButton
Dim value As String
value = instance.ClientOnClickScript
instance.ClientOnClickScript = value
public string ClientOnClickScript { get; set; }
Property Value
Type: System.String
String that represents the script that is executed when this button is clicked.
Remarks
When this value is not an empty string, the href property of this button is not used.