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

SelecteItem lost when ItemsSource changed

1 Answer 45 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Wenrong
Top achievements
Rank 1
Wenrong asked on 12 Jun 2012, 04:55 AM
In my application the ItemsSource for the listbox will change depeding on other entity values. I am using CollectionViewSource with changing filter to implement this.

However, the SelectedItem binding is lost in this case. WPF standard ListBox on the other hand behaves correctly. You can download demo application here: http://jemerald.com/myfiles/ListBoxWithFilterSource.rar

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 14 Jun 2012, 10:14 AM
Hi Wenrong,

We were able to reproduce the issue, but we need more time to investigate it. We will get back to you as soon as we have more news on the matter.

Greetings,
Georgi
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
ListBox
Asked by
Wenrong
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or