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

Checkboxes don't get refreshed with Caliburn's BindableCollection

1 Answer 144 Views
DataBoundListBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Franz
Top achievements
Rank 2
Franz asked on 25 Nov 2011, 06:54 PM
Hello,

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.

Regards
Franz

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 28 Nov 2011, 08:10 AM
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.

Regards,
Deyan
the Telerik team

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

Tags
DataBoundListBox
Asked by
Franz
Top achievements
Rank 2
Answers by
Deyan
Telerik team
Share this question
or