This is a migrated thread and some comments may be shown as answers.

Node Text Changed Event

2 Answers 194 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 22 Oct 2015, 04:37 PM

Hello,

My RadTreeView is in bound mode (not sure of the relevance of this, considering I can't get this event to work in unbound mode either), and I've tried just about every meaningful event that I could find, but still can't find one that fires after a node's text is changed.

What I've tried:
RadTreeView1.TreeViewElement.TextChanged
RadTreeView1.TreeViewElement.Edited
RadTreeView1.SelectedNode.PropertyChanged
RadTreeView1.Edited

Is there an event that fires after a node's text is changed? If not, does anyone know of a workaround? I'd like to make sure the user does not assign two nodes the same text.

Thanks!

2 Answers, 1 is accepted

Sort by
0
Ryan
Top achievements
Rank 1
answered on 22 Oct 2015, 07:17 PM
Odd - the edited event seems to be working now! Not sure what happened there...
0
Dimitar
Telerik team
answered on 23 Oct 2015, 07:42 AM
Hi Ryan,

Thank you for writing.

The Edited event is the correct one and it should be working in both - bound and unbound mode. 

Do not hesitate to contact us if you have other questions.

Regards,
Dimitar
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Treeview
Asked by
Ryan
Top achievements
Rank 1
Answers by
Ryan
Top achievements
Rank 1
Dimitar
Telerik team
Share this question
or