Share 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)
Available in Sandboxed Solutions: No

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