Context menu to each node

4 posts, 0 answers
  1. Gijo
    Gijo avatar
    26 posts
    Member since:
    Jan 2008

    Posted 05 Apr 2012 Link to this post

    Is it possible to add context menu to each node in the Orag chart.
  2. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 10 Apr 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. James
    James avatar
    1 posts
    Member since:
    Jan 2011

    Posted 22 Mar 2013 Link to this post

    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

  5. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 26 Mar 2013 Link to this post

    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.
Back to Top