MenuItem.ClientEvent Property
Gets or sets the client-side Microsoft JScript code to execute when this menu item is clicked.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property ClientEvent As String
Get
Set
'Usage
Dim instance As MenuItem
Dim value As String
value = instance.ClientEvent
instance.ClientEvent = value
public string ClientEvent { get; set; }
Property Value
Type: System.String
A string which specifies the JScript code for the click event which needs to get sent to the client.