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

Different context menus attached on different tree nodes

2 Answers 31 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Andreas
Top achievements
Rank 1
Andreas asked on 05 May 2011, 09:14 AM

Hello,

How can I attach different context menus on different tree nodes?

For example the root node to have a context menu with selections x,y,z and

a child node having a context menu with selections a,b,c

The tree along with the context menu I would like to be dynamically created.

Thanks in advance

2 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 09 May 2011, 07:16 AM
Hi Andreas,

Could you please examine this demo showing how to create a different context menus depending on the type of the business object behind the RadTreeViewItem. Let us know if this helps you or you will need additional information.

Greetings,
Petar Mladenov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Andreas
Top achievements
Rank 1
answered on 11 May 2011, 09:30 AM
Thank you!
Tags
TreeView
Asked by
Andreas
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Andreas
Top achievements
Rank 1
Share this question
or