This example shows how to use the client-side API of Telerik TreeView for ASP.NET MVC.

To use the client-side API you should first retrieve the treeview client-side object. The following code snippet shows how to do this:

<script type="text/javascript">
function getTreeView(){
    //"TreeView" is the value specified by the Name() method.
    var treeview = $("#TreeView").data("tTreeView");
    return treeview;
}
</script>

These are the available client-side methods:

All of the above methods accept node as either a DOM element, jQuery selector or a jQuery object.