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

Hierarchical TreeView bound to EntityCollection

1 Answer 63 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 05 Feb 2010, 03:36 PM
I have an entity Plant that has a collection of Lines and Lines has a collection of Stations.  I bind my tree to an ObservableCollection<Plant> then each level of the heirarchy binds to the EntityCollection of Lines and then Stations.
When I add a new Line or new Station everything looks great until I save, when the save is completed my new items are suddenly disabled in the tree.  I have a hack in place right now to reverse this, but I'd love to know why they go disabled and how to properly fix it.

I'm using RIA Services as the backing WCF service.

1 Answer, 1 is accepted

Sort by
0
Tihomir Petkov
Telerik team
answered on 10 Feb 2010, 12:53 PM
Hi Dan,

It's hard to say what the reason may be without taking a look at your code. We are not aware of anything in the TreeView that will cause an item to be disabled after the operation you describe. Can you provide a sample project that demonstrates the issue?

All the best,
Tihomir Petkov
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Tags
TreeView
Asked by
Dan
Top achievements
Rank 1
Answers by
Tihomir Petkov
Telerik team
Share this question
or