.asp.net - mvc
I have a page that has multiple treeviews. (created dynamically)
I have added a function for the "Select" event of the trees. In the function, I want to get the Id of the selected node. From what I've read, this is done by: $("#treename").data("kendoTreeView").dataItem(e.node).id
However, because the method is wired to multiple trees, I do not know what tree e.node is in. (I do not know what #treename is)
How can I obtain information about the selected node in the Select event?
Thanks,
Justin