Hi John,
Thanks for contacting Syncfusion support.
We have analysed that provided code: in that, you have tried
to get the id of clicked node from first argument in clientsideonnodeclick
event. But it is available in second argument of this event. Please refer the
below code snippet.
<code>
[View]
@(Html.Syncfusion().TreeView("myTreeView", "treeView").Height(150).Width(200).ClientSideOnNodeClick("onclicktreenode"))
<script
type="text/javascript">
function onclicktreenode(sender, args){
alert(args._id);
}
</script>
</code>
Note : First argument has Treeview control id and their
properties and second one has clicked node id and its properties.
Please let us know if you have further queries on this.
Thanks,
Gurunathan