| RadTree1: Node Editing |
 Personal Folders
|
Select a node and press F2 to edit its contents (or click an already selected node).
|
Source Code & Description
RadTreeView supports client-side Node Editing - you can simply select a node and press F2 (or click an already
selected node) and you'll be able to edit the node text client-side. In order to do that, you need to se the AllowNodeEditing
property of RadTreeView to true. If the text of the node has been changed, the NodeEdit event fires, accepting
EventsArgs of type RadTreeNodeEvents args.
The node edited is RadTreeNodeEventArgs.NodeEdited, the new text value is in RadTreeNodeEventArgs.NewText. RadTreeView does
not automatically change the node text, so you'll need to do that in your event handler (if you want to).