Hierarchical TreeView bound to EntityCollection

2 posts, 0 answers
  1. Dan
    Dan avatar
    5 posts
    Member since:
    Jun 2009

    Posted 05 Feb 2010 Link to this post

    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.
  2. Tihomir Petkov
    Admin
    Tihomir Petkov avatar
    576 posts

    Posted 10 Feb 2010 Link to this post

    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.
Back to Top