Welcome Guest Search | Active Topics | Sign In | Register

TreeView with ContextMenu Options
Amiran
Posted: Wednesday, November 26, 2008 4:52:07 AM
Rank: Member
Groups: Member

Joined: 11/21/2008
Posts: 15
Hi,

I have a TreeView with a ContextMenu
I’d like to do the following:
If I do a right mouseclick on a node, then this node has to be selected and the ContextMenu has to appear (like in Windows)
Currently only the ContextMenu appears, but the node is not selected.
I can’t select nodes with a right mouseclick in the TreeView.
eo_support
Posted: Wednesday, November 26, 2008 8:09:45 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,097
Hi,

What version are you using? The latest version does automatically highlight the right clicked context node when the ContextMenu is visible:

http://www.essentialobjects.com/Demo/Default.aspx?path=TreeView\_i1\_i9

Note it does not change the current selected node. Once the context menu closes, the highlight is removed and the current selected node remains unchanged. If you do wish to change the current selected node, you can use our client side JavaScript interface to do so.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.