My RadTreeView is customize . And RadTreeView associated with RadTreeView .Now,I want to Click RadContextMenu's "Add Node" enevt at the end of RadTreeView 's nodes add an node. Please let me konw how to do.
Thanks very much.
1 Answer, 1 is accepted
0
Plamen
Telerik team
answered on 24 Jan 2013, 03:15 PM
Hi Yang,
Thank you for writing.
The default context menu is not enabled by default and if you right-click a node, it will not appear on the screen. In order to enable it, you should set the AllowDefaultContextMenu property to true. To enable the New item, you should set the AllowAdd property to true:
this.radTreeView1.AllowDefaultContextMenu = true;
this.radTreeView1.AllowAdd = true;
All the other items are disabled and here you will see how to enable them.
I hope this helps.
Kind regards,
Plamen
the Telerik team
Q3'12 SP1 of RadControls for WinForms is out now. See what's new.