RadTreeView for ASP.NET

Changing the text of tree nodes Send comments on this topic.
See Also
Example scenarios (How to) > Client -side > Changing the text of tree nodes

Glossary Item Box

The client-side API of Telerik RadTreeView provides the TextElement() method 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";

  Copy Code
...
//RadTreeView1 is the server-side treeview object
var tree = <%=RadTreeView1.ClientID %>
tree.Nodes[0].TextElement().innerHTML = "new text";
...

 

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

See Also