Hi Doron,
I guess you want not to show the RadContextMneu for some nodes of treeview. If so, better way to accomplish this is by canceling the event in
OnClientContextMenuShowing method after checking the node that the context menu is being opened for.
ASPX:
JavaScript:
Note: eventArgs.set_cancel(true) will cancel the event and the contextmenu is not shown.
Thanks,
Shinu.