Filtered Treeview stops firing events when ItemsSource changed

2 posts, 0 answers
  1. Scott Marsh
    Scott Marsh avatar
    4 posts
    Member since:
    Dec 2009

    Posted 20 Sep 2010 Link to this post

    Hi there,

    I am attempting to implement a simple text filter on a RadTreeView similar to the example found here:

    My filter works just fine by taking the text from a textbox then running a LINQ query on an Observable collection, then setting the TreeView ItemsSource to the filtered collection. If the textbox is empty, then the original full collection is used.

    However, I have a problem that when I have filtered my list and set the ItemsSource, none of the events set on the TreeView will fire. Specifically the associated Drag/Drop events (the tree is a drop recipient). When I clear my filter box and return back to my full collection, everything works ok again.

    This is driving me slightly crazy. Anyone have any ideas what's going on?

  2. Viktor Tsvetkov
    Viktor Tsvetkov avatar
    382 posts

    Posted 23 Sep 2010 Link to this post

    Hi Scott Marsh,

    Accept our apologize for the late response. I tried to reproduce your problem, but I am getting no such behavior. Could you please send me your sample project, so I will be able to better investigate the problem?

    All the best,
    Viktor Tsvetkov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top