SelectedItem property not updated on Collection change event

2 posts, 0 answers
  1. Damian Slee
    Damian Slee avatar
    26 posts
    Member since:
    Nov 2009

    Posted 24 May 2010 Link to this post

    I had this same issue with RadGrid, which appeared to have been fixed in 0422 2010.

    I am encountering the same issue in RadComboBox now i am using this instead of a grid.

    If RadComboBox is bound to a observable collection, and there is a  change to an item in the collection (ie replace an object in the collection), the RadComboBox SelectedItem property points to the old instance of the object that was in the collection.

    Also if an update collection event occurs, the displayed/selected item, does not seem to update.  Eg.  Combo box displays Person names collection.   Another textbox modifies the name, INotifyPropertyChange is generated, then CollectionChange event is generated, but combo box displays original value.

    Work around is to externally catch the collection change/update event and update RadComboBox SelectedItem to the new object instance.

  2. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 26 May 2010 Link to this post

    Hello Damian Slee,

    We tested the issue, however we are unable to reproduce the bug. Could you please send us a sample project  where the bug can be observed or add the code you are using. In order to attach a project you need to open a support ticket as you can not attach files in forum threads.

    I will be waiting for your answer.

    Greetings,
    Boyan
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft banner
Back to Top