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

SelectedItems bug on loading stage

0 Answers 35 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 25 Aug 2013, 07:36 AM
Hi, I noticed that RadListBox has a bug... or misbehave, I don't know how to name it. On loading stage with SelectedItems. I guess you know about this problem and in reason of this SelectedItems is "read only" property. But I made wrapper to the RadListBox which manage selection and I got ability to bind Selecteditems. Everything works fine until in one moment I tried to load selected items in view model constructor. Items adding to selected items fine, but after this radlistbox start cleaning selection except first item. For example, I have seven items in listbox items source and i'm trying to select all of them. OnSelectionChanged i will get eventArg with remove action and six items in Removed collection.

This issue solving easily calling some Load method after view has loaded. And I know that this topic will be ignored. But, I think it can be helpful for someone...

p.s.
assembly version - 2013.2.611.1050

No answers yet. Maybe you can help?

Tags
ListBox
Asked by
Alex
Top achievements
Rank 1
Share this question
or