This is a migrated thread and some comments may be shown as answers.

Set new treeview node's context menu on clientside

3 Answers 65 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
aquillin
Top achievements
Rank 1
aquillin asked on 11 Feb 2008, 09:47 PM
I am creating new nodes on the clientside and need a way to set the contect menu for the new node.  I have 3 context menus attached to 3 types of nodes, and so the new node needs to have the correct context menu set when it gets created.  Once again, this all needs to be done on the clientside.

Thanks

3 Answers, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 12 Feb 2008, 07:47 AM
Hi aquillin,

You should use the contextMenuID property (represented by the set_contextMenuID method) of the new node to specify the context menu it will use. Please find attached an example page demonstrating this.

Let me know if that helps.

Kind regards,
Erjan Gavalji
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
aquillin
Top achievements
Rank 1
answered on 12 Feb 2008, 02:33 PM
Awesome, worked great, thanks!  Am I missing something though, or is there a place where ALL the API functions are documented?  Even though your documentation is very helpful and has lots of examples (an also WAY better than the documentation of some of your compeditors products), I find it alittle difficult when looking for a specific API call, or see a call in some example code and cannot find the documentation for it. 
0
Nikolay
Telerik team
answered on 12 Feb 2008, 04:15 PM
Hello aquillin,

Currently, the RadTreeView's client-side API is described in the "Telerik RadTreeView Client Side" section in the help manual. There is a new version of the RadTreeView Prometheus Help coming by the end of this month. It will be far more detailed and complete.


Kind regards,
Nick
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TreeView
Asked by
aquillin
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
aquillin
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or