Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

ListBoxSelectedItemsBehavior.SelectedItemsSource not working when ListCollectionView is used as ItemsSource

$
0
0
Hello Vitalij,

After further investigation of the desired by you functionality we determine that binding the SelectedItemsSource property to a collection that inherits the CollectionView class is currently not supported. However, you could log this as feature request in our Feedback Portal. We will review the item and will consider it for implementation.

However, what we could suggest you as one possible approach to achieve the desired filtering is to bound the ItemsSource and SelectedItemSouce to an ObservableCollection. After you filter the ListCollectionView you could clear the ObservableCollection and fill it with the filtered items. 

We have created a sample project that demonstrates the described above approach and you could run and evaluate it. 

We hope this will help you.

Regards,
Nasko
Telerik
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 Feedback Portal and vote to affect the priority of the items

Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>