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 that should be executed when the user clicks on this menu entry.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property ClientOnClickScriptContainingPrefixedUrl As String
Get
Set
'Usage
Dim instance As MenuItemTemplate
Dim value As String
value = instance.ClientOnClickScriptContainingPrefixedUrl
instance.ClientOnClickScriptContainingPrefixedUrl = value
public string ClientOnClickScriptContainingPrefixedUrl { get; set; }
Property value
Type: System.String
Remarks
This property simply sets the [ClientOnClickScript] property after converting embedded URLs prefixed with "~site/" or "~sitecollection/" to be server-relative URLs.
If the property [ClientOnClickScript] is set after setting this property then the value of this property will be reset back to null.
The values for this property may contain tokens for client-side replacement as described by the [ClientOnClickScript] property.