I've created my RadTree server-side and when I edit one of the node values, it updates properly but the other node values disappear. Would you please tell me what I'm doing wrong?
If you have an event handler to the OnNodeEdit event, you should set the value of the node's Text property to the new text, e.g.:
e.Node.Text = e.Text;
If you do not have an event handler attached to the OnNodeEdit event, you should use the client-side NodeEditing and NodeEdited events to call the trackChanges and commitChanges methods of the RadTreeView object.
Please, find attached an example page, demonstrating both the approaches.
I've successfully implemented the server-side, dynamic creation of the nodes as well as editing of the text. I would now like to use a template instead of the default 'label' that is created in order to edit the text.
I've added the template and it's displaying the correct text, but when I click/check the adjacent checkbox, my values are disappearing again. Any clues?
Thanks,
Jeff
0
Simon
Telerik team
answered on 10 Mar 2008, 11:56 AM
Hello Jeff Johnson,
Could you prepare a sample project, which demonstrates this behaviour, and send it to us in a formal support ticket? We will investigate it locally in order to find the cause and provide you with a solution or a workaround.