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

No PropertyChanged event for initially expanded item?

1 Answer 17 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Jerma
Top achievements
Rank 1
Jerma asked on 04 Dec 2009, 06:13 PM
Hello,

we are using a RadTreeView with Columns and we see a very strange behaviour. 
Some of the items of the tree view are initially expande by setting IsExpanded to true in their Constructor (we use a TreeViewModel). When a values of the properties binded to the treeView changes, it works fine for all items, except for the  ones that were initially expanded. No data update is performed. It seems as if the bindings were lost.
If we remove the IsExpanded in the constructor, the binding seems to be ok, but we need to expand some of the items initially.

What can we do?

Best regards,
Jerma

1 Answer, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 08 Dec 2009, 02:23 PM
Hello Jerma,

Unfortunately I was not able to reproduce the issue. Could you please elaborate a little bit more on your scenario. Also, if it is possible, could you please send a sample project reproducing the issue. Meanwhile, do you manage to reproduce the issue if you style bindings. I am attaching a sample project that demonstrates how to select/check/expand items using style bindings. If you still experience the same issue, contact me as soon as possible.


Best wishes,
Kiril Stanoev
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
Jerma
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Share this question
or