Click here to Skip to main content
15,886,864 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i m using asp.net treeview control .and i am display context menu on treeview node mouse right click.but context menu is open but node is not selected.it is selected only when mouse left click .i want to select node which have mouse right click.


Thanks.
Posted
Comments
Sergey Alexandrovich Kryukov 1-Jun-13 22:49pm    
Why? why?!
—SA

You should never try to do it. In standard browser features, right click is very important: it activates the context menu, which is critically important for very basic browser functionality.

—SA
 
Share this answer
 
I agree with Sergey.

But if you really want to do that, then why not change the background colour of the node which is clicked?
That would look different from other nodes.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900