ESRI.ArcGIS.ADF.Web.UI.WebControls
SetupContextMenu Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > TreeViewPlus Class : SetupContextMenu Method




contextMenu
Context menu to add to the node.
node
Node in the TaskResults to add the context menu to.
Assigns the context menu for the node.

Syntax

Visual Basic (Declaration) 
Public Sub SetupContextMenu( _
   ByVal contextMenu As ContextMenu, _
   ByVal node As TreeViewPlusNode _
) 
Visual Basic (Usage)Copy Code
Dim instance As TreeViewPlus
Dim contextMenu As ContextMenu
Dim node As TreeViewPlusNode
 
instance.SetupContextMenu(contextMenu, node)
C# 
public void SetupContextMenu( 
   ContextMenu contextMenu,
   TreeViewPlusNode node
)

Parameters

contextMenu
Context menu to add to the node.
node
Node in the TaskResults to add the context menu to.

Remarks

This method assigns the context menu to the particular node. It sets up the client-side code required to activate and use the context menu for the node.

See Also

© 2010 All Rights Reserved.