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

MouseLeftButtonDown, MouseRightButtonDown is not firing on Treeview

1 Answer 83 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Afsal
Top achievements
Rank 1
Afsal asked on 25 Aug 2011, 09:05 AM
Hi,

In my telerik rad treeview mouse right button click is not selecting the clicked tree node and hence the context menu displayed is wrong. To correctly display the context menu i need to left click first and then right click. I am using MouseRightButtonClick event , but it is not getting executed. Also tried ContextMenuOpened event which is also not getting executed for each treeview node click.
Please help.

Thanks in advance,
Afsal


1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 29 Aug 2011, 09:36 AM
Hi Afsal,

Can you try the approach demonstrated in this demo solution. Let us know if it works for you. Also, there is a feature request to select the RadTreeViewItems on right click when the selection mode is Multiple/Extended. If you think this feature should be implemented, you can vote for it here.

Regards,
Tina Stancheva
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
TreeView
Asked by
Afsal
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or