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.
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.