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

[Solved] Treeview node name is not refreshing after the change

1 Answer 94 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Anil Gupta
Top achievements
Rank 1
Anil Gupta asked on 15 Dec 2009, 02:15 PM

Hi,

                I am using Telerik treeview to display  a deep hierarchy. I am using the ObservableCollection to have any collection. I am facing the following issues.

 

1)      User can change the name of the nodes by using some interface. I am changing the name of the node and raising the PropertyChange event but It’s not reflecting the new name in the treeview.

I went thought couple of blogs and found out that we have to set IsInEditMode property before editing the name. I am facing a very strange issue after setting up this flag. As soon as I set this flag, It changes the name of the node to blank in the tree view. Am I missing something?

2)      User can add new nodes in treeview by using other user interface. After the user action, I am adding the node in bound ObservableCollection and it’s getting reflected in the treeview but the scrollbar is not getting updated in the treeview so I am not able to scroll to the newly added node.


Please find the attached XAML for more details about the binding.

Thanks

Anil Kumar Gupta

 

1 Answer, 1 is accepted

Sort by
0
Bobi
Telerik team
answered on 17 Dec 2009, 03:22 PM
Hi Anil Gupta,

 You forgot to attach the file. Can you please send it again?


Kind regards,
Boryana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
TreeView
Asked by
Anil Gupta
Top achievements
Rank 1
Answers by
Bobi
Telerik team
Share this question
or