Compartilhar via


Menu.ClientOnClickScript property

Gets or sets the script to execute when a split-button is clicked.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property ClientOnClickScript As String
    Get
    Set
'Usage
Dim instance As Menu
Dim value As String

value = instance.ClientOnClickScript

instance.ClientOnClickScript = value
public string ClientOnClickScript { get; set; }

Property value

Type: System.String
The string containing the script.

Remarks

This property is used only by the ArrowSplitButton value of MenuFormat.

See also

Reference

Menu class

Menu members

Microsoft.SharePoint.WebControls namespace