| 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
)
Public Shared Function GetContextMenuAction (
ContextmenuID As String,
EventID As String,
ItemID As String,
Position As ContextMenuPosition
) As String
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:
StringRemarks See Also