Hi Jimmy,
Thanks for using Syncfusion products.
We would like to let you know that, we can select the node based on the ID that pass in to the View by using AJAX success function. We can pass the ID from the controller in to the success function of AJAX and assign that ID to the “SelectNode” API of our Treeview control as shown in the following code snippet.
<code>
[script]
$.ajax({
url: 'DataReturn',
type: 'GET',
success: function (result) {
var treeObj = $("#NewsCate").data("ejTreeView");
treeObj.selectNode($("#" + result));
}
})
</code>
For your convenience we have prepared the sample based on your requirement and it can be downloaded from the following location.
https://www.syncfusion.com/uploads/user/forum/118797/TreeViewID-178931517.zip
Can you please check with the sample? If still you face any problem, kindly revert us by modifying the sample along with the replication procedure so that we can able to reproduce the issue in our end. This would be helpful for us to serve you better.
Please let us know if you have further concern.
Regards,
Saranya.S