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

Context menu to each node

3 Answers 97 Views
OrgChart
This is a migrated thread and some comments may be shown as answers.
Gijo
Top achievements
Rank 1
Gijo asked on 05 Apr 2012, 05:04 PM
Is it possible to add context menu to each node in the Orag chart.

3 Answers, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 10 Apr 2012, 09:49 AM
Hi Gijo,

Straight to the question. RadOrgChart doesn't support context menu. We are going to log your suggestion in our tracking system and you can vote for it. Here is a link to PITS.

Regards,
Peter Filipov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
James
Top achievements
Rank 1
answered on 22 Mar 2013, 09:26 PM
Hi,

Maybe I'm writing about a different version, but I am using a ContextMenu with the OrgChart, and it works just fine, but I have a question: I want to disable a couple of menu items on the Root node, but I can't figure out how to identify the root node in the onClientShowing function. Any ideas?

Thanks,
James

0
Kate
Telerik team
answered on 26 Mar 2013, 02:46 PM
Hi James,

You can use the client-side API of the RadContextMenu, get the desired item and disable it by using the  the disable() function described here. You can also try out using the get_parent() function of the menu item and check if the parent of an item is the contextmenu itself (meaning that this item is a root item) or another menu item.

Kind regards,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
OrgChart
Asked by
Gijo
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
James
Top achievements
Rank 1
Kate
Telerik team
Share this question
or