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

RadTreeView different contextMenu and server side click

0 Answers 40 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Charlie
Top achievements
Rank 1
Charlie asked on 24 Jan 2018, 01:27 PM

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.

No answers yet. Maybe you can help?

Tags
TreeView
Asked by
Charlie
Top achievements
Rank 1
Share this question
or