Welcome Guest Search | Active Topics | Sign In | Register

ClientSideOnItemClick Options
rDc
Posted: Thursday, January 15, 2009 8:45:15 AM
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
eo_support
Posted: Thursday, January 15, 2009 8:53:07 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,083
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.html

It 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.html

Hope this helps.

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.