Checkboxes don't get refreshed with Caliburn's BindableCollection

Thread is closed for posting
2 posts, 0 answers
  1. Franz
    Franz avatar
    4 posts
    Member since:
    Oct 2011

    Posted 25 Nov 2011 Link to this post


    it's not really a bug but a strange behaviour.

    I'm using caliburn micro's BindableCollection in my view models. The collection has a AddRange() implementation that sends NotifyCollectionChangedAction.Reset to avoid single event's for every item.

    The DataBoundListBox does refresh all items but not the checkboxes, all checkboxes appear as unchecked. I'm using the ItemCheckedPath property to set the values. If I set the ItemSource property again the checkboxes work correctly.

    It would be great if you could refresh the checkbox status on a NotifyCollectionChangedAction.Reset event too.

  2. Deyan
    Deyan avatar
    2147 posts

    Posted 28 Nov 2011 Link to this post

    Hello Franz,

    Thanks for contacting us.

    In general, we do refresh each CheckBox state for a newly realized visual item upon collection changes or when the user scrolls. However, there might be something specific in your scenario that leads to the undesired behavior you describe.

    In order to be able to analyze the case and provide you with a solution, we would kindly like to ask you to prepare a sample WP7 app that we will use to reproduce the undesired behavior and debug it.

    Please note that you will have to open a new support ticket in order to be able to attach your project.

    Also, make sure to add all non-Telerik third party assemblies that you are using in your application as we do not have access to other assemblies than ours.

    Thanks for your time.

    the Telerik team

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

Back to Top