Hi John,
Thank you for writing.
You can cancel the selection with right mouse button in the RadTreeView SelectedNodeChanging event using the following code:
In the
MouseDown event you can highlight the node you click and show your context menu. Here is a code snippet on how to do that:
You need the code in the
ItemFormatting event to remove the highlighting of the item.
I hope this will be useful for you. If you need further assistance, I would be glad to help.
All the best,
Ivan Petrov
the Telerik team
Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.