I'm attempting to make the treeview in our application work as it did prior to the improvement which has it clear the current text. (i.e. I'd like the editor that gets created to have the old text in it, and that text highlighted). I've got all this down except for the highlighting.
This needs to be done programmatically, as some nodes do not have an option to be renamed.
What I'm doing currently is: after the treeview acquires an editor, setting the text value of that editor to the value that was the node's text. I can't, however, find an editor that has any kind of "highlight text" feature, to pass to the treeview when EditorRequired is raised. What can I do to implement this feature?
Thanks in advance,
-Alan
This needs to be done programmatically, as some nodes do not have an option to be renamed.
What I'm doing currently is: after the treeview acquires an editor, setting the text value of that editor to the value that was the node's text. I can't, however, find an editor that has any kind of "highlight text" feature, to pass to the treeview when EditorRequired is raised. What can I do to implement this feature?
RadTreeNode node = radTreeView1.SelectedNode;
radTreeView1.BeginEdit();
radTreeView1.ActiveEditor.Value = node.Text;
Thanks in advance,
-Alan