Completed
Last Updated: 02 Jun 2015 10:19 by John
ADMIN
Telerik Admin
Created on: 13 Jun 2013 18:10
Category: ListBox
Type: Bug Report
8
The selected item does not look selected when ICollectionView is set as an ItemsSource

		
7 comments
John
Posted on: 02 Jun 2015 10:19
I just tested using version 2015.1.601 and still experience the bug. Please see my related support ticket with ID 901043. It contains a sample solution that demonstrates that the bug still exists.
ADMIN
Georgi
Posted on: 02 Jun 2015 08:12
The issue is fixed in the 2015 Q1 SP (2015.1.0401) version of the controls.
John
Posted on: 02 Jun 2015 01:00
I see this is now 'Completed'. Great! What version will the fix be in?
John
Posted on: 02 Feb 2015 05:53
Can we get this fixed? It's been more than one and a half years since the feedback item was submitted and the suggested workaround does not work in an MVVM implementation.
ADMIN
Vladi
Posted on: 28 Jan 2015 11:50
Hi,

In order to workaround this issue you could use the SelectionHelper of the RadListBox control and set its SelectItems collection directly. The next code snippet shows the described workaround:

- the XAML declaration:

xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
...
<telerik:RadListBox x:Name="radListBox" 
                    ItemsSource="{Binding Items}" 
                    DisplayMemberPath="Name" ></telerik:RadListBox>

- and in the code behind when setting the SelectedItem:

var items = (this.DataContext as ViewModel).Items.OfType<Item>().ToList();
this.radListBox.SelectionHelper.SelectItems(new List<Item> { items[0] });
Joe
Posted on: 03 Jan 2014 09:48
Same here!  Especially considering this bug only exists in the Telerik control, it works fine in the standard WPF listbox.
Steve
Posted on: 20 Jun 2013 06:21
Hi,
Please fix this bug very important for me.
Thanks so much.