Click or drag to resize

ContextMenuGetContextMenuAction Method (String, String, String, ContextMenuPosition)

Retrieves a Javascript handler which displays the Contextmenu.

Namespace:  Dynamicweb.Controls
Assembly:  Dynamicweb.Controls (in Dynamicweb.Controls.dll) Version: 4.2.3
Syntax
public static string GetContextMenuAction(
	string ContextmenuID,
	string EventID,
	string ItemID,
	ContextMenuPosition Position
)

Parameters

ContextmenuID
Type: SystemString
The ID of Contextmenu that action should display.
EventID
Type: SystemString
ID of item activating the contextmenu. Can be accessed using JS statement: ContextMenu.callingID
ItemID
Type: SystemString
ID of item activating the contextmenu. Can be accessed using JS statement: ContextMenu.callingItemID
Position
Type: Dynamicweb.ControlsContextMenuPosition

Return Value

Type: String
Remarks