I'm setting the context menu of a tree control. However, when I right click the menu does not appear. Is there anyway to tell if this method fails?
Hi,
I was not able to reproduce this behavior. I used 10.3 version with the latest service release: 10.3.20103.2094 and just add a context menu and set up this menu to the "ContextMenuStrip" property of the UltraTree.
Could you please tell me what are the version that you are using? If you didn`t install the latest service release, please do it. If is it possible for you please create a small sample that reproduces this behavior.
If you have any questions, do not hesitate to ask me
Regards
How do you assign the context menu if you add the control to the form at runtime?
TreeView tree = new TreeView();this.Controls.Add(tree);tree.MouseDown += new MouseEventHandler(TreeView_MouseDown);tree.ContextMenuUltra = "PopupMenuTool1"; // Compiler cannot find ContextMenuUltra property
Try something like this:
this.ultraToolbarsManager1.SetContextMenuUltra(tree, "PopupMenuTool1");