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

Edit mode in 2011 q1 sp1

1 Answer 24 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Sonya L
Top achievements
Rank 1
Sonya L asked on 04 May 2011, 10:00 PM
In this version, it looks like when a node goes into edit mode, you are editing the value, rather than the text.  I have a tree bound to a binding list, where the value is an ID, and the display text is a string value.  When the node is edited, the value ID appears, and is the field that is edited.  How can I edit the text, rather than the value?  This worked properly in 2010 Q1, which is the last version I used.  Thanks!

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 09 May 2011, 04:37 PM
Hi Sonya L,

Thank you for writing.

In order to edit the text when editing a node, you can set both the DisplayMember and ValueMember to point to the display text property of your object.

I hope this helps. Let me know if you need further assistance.
 
Best wishes,
Stefan
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
Tags
Treeview
Asked by
Sonya L
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or