Rank: Newbie Groups: Member
Joined: 1/14/2009 Posts: 9
|
Hi ALL..
In a 'ClientSideOnItemClick="MenuItemClickHandler"', is there any way to get the item selected. ? For example, "myTreeView.Nodes.Item(0).ChildNodes.Item(i1).Selected", on the server side, you can know the exact item selected
Thanks rDc
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Yes. You will be able to use this method to get the current selected node: http://www.essentialobjects.com/ViewDoc.aspx?t=JSDoc.Public.TreeView.getSelectedNode.htmlIt will be something like:
Code: JavaScript
var selectedNode = eo_GetObject("TreeView1").getSelectedNode();
You can find more information about our client side JavaScript API here: http://www.essentialobjects.com/ViewDoc.aspx?t=clientapi_howto.htmlHope this helps. Thanks!
|