SelectedItems bug on loading stage

1 posts, 0 answers
  1. Alex
    Alex avatar
    19 posts
    Member since:
    Feb 2012

    Posted 25 Aug 2013 Link to this post

    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
Back to Top