How do you add a RadContextMenu to a node in the treeview?
The RadContextMenuManager allows you to add a RadContextMenu to the RadTreeView control but that only gives you the ability to add a context menu to the whole control regardless of where it is clicked.
The RadTreeNode has a ContextMenu property but it is of type RadDropDownMenu which has previously been said to be obsolete. Since the RadDropDownMenu is no longer part of the Toolbox, manually changing the RadContextMenu to a RadDropDownMenu allows it to be added to a treeview node but this does not seem to be the correct way to do this.
radTreeNode1.ContextMenu = radDropDownMenu;
Are there any other ways to do this?
The RadContextMenuManager allows you to add a RadContextMenu to the RadTreeView control but that only gives you the ability to add a context menu to the whole control regardless of where it is clicked.
The RadTreeNode has a ContextMenu property but it is of type RadDropDownMenu which has previously been said to be obsolete. Since the RadDropDownMenu is no longer part of the Toolbox, manually changing the RadContextMenu to a RadDropDownMenu allows it to be added to a treeview node but this does not seem to be the correct way to do this.
radTreeNode1.ContextMenu = radDropDownMenu;
Are there any other ways to do this?