Kevin,
Thanks to your earlier posts, I have been able to achieve a context popup menu (I have mine appear in a fixed location out of the tree because the tree appears to have a higher z-order and can cover part of the menu).
My problem is that once I show the menu, I want that node (I have the index) to become the selected node. I am doing the following in JavaScript:
treeview.setAttribute("SelectedNodeIndex", contextMenuIndex); where contextMenuIndex is the correct index (from the oncontextmenu handler window.event.treeNodeIndex).
This does not work for me. Note that if I set that property during the PageLoad codebehind, I can set the initial selected node. Do I have to force a postback after setting the property in JavaScript? and how do I do that?
TIA.