New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
NodeEdit
The NodeEdit event fires when the user clicks the Enter key after editing a Node. The RadTreeNodeEditEventArgs passed to the event handler provides a reference to the edited Node and a Text property. Set the AllowNodeEditing property of RadTreeView to enable editing. Edited nodes do not automatically persist user changes.
In the example below the "old" text is represented by e.Node.Text and the "new" text entered by the user as e.Text. The new text is assigned to the Node.
C#
protected void RadTreeView1_NodeEdit(object sender, Telerik.Web.UI.RadTreeNodeEditEventArgs e)
{
e.Node.Text = e.Text;
}