RadTreeView for ASP.NET AJAX

RadControls for ASP.NET AJAX

The client-side API of Telerik RadTreeView for ASP.NET AJAX provides the get_textElement() function that returns the instance of the text element of a particular node.

For example, the following Javascript changes the first node of the treeview to "new text":

CopyJavaScript
        //RadTreeView1 is the server-side treeview object
        var tree = $find("<%= RadTreeView1.ClientID %>");
        tree.get_nodes().getNode(0).get_textElement().innerHTML = "new text"; 

Note

The changes however will not be persisted after post-back.

See Also