RadTreeView different contextMenu and server side click

1 posts, 0 answers
  1. Charlie
    Charlie avatar
    13 posts
    Member since:
    Nov 2014

    Posted 24 Jan 2018 Link to this post

    Hi,

    I'm having problems with a RadTreeView which is databound.

    I would like to show 1 context menu if the Category of the node is 1 value and another if not which I have achieved using Javascript and the OnClientContextMenuShowing method. I then assign the context menu to each node depending on the category.

    The issue I have is I need to be able to use the OnContextMenuItemClick server side method to run some C# depending on the selected context item but assigning this event to the treeview does not fire when the menu items are clicked.

     

    I hope someone can help with this and please let me know if any code snippets are needed.

Back to Top