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

Filtered Treeview stops firing events when ItemsSource changed

1 Answer 63 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Scott Marsh
Top achievements
Rank 1
Scott Marsh asked on 20 Sep 2010, 04:07 PM
Hi there,

I am attempting to implement a simple text filter on a RadTreeView similar to the example found here: http://demos.telerik.com/silverlight/#TreeView/FilterSearchSort

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?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Viktor Tsvetkov
Telerik team
answered on 23 Sep 2010, 01:46 PM
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
Tags
TreeView
Asked by
Scott Marsh
Top achievements
Rank 1
Answers by
Viktor Tsvetkov
Telerik team
Share this question
or