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

UWP RadDataBoundListBox crashes when moving items

4 Answers 137 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
Jeremy
Top achievements
Rank 1
Jeremy asked on 22 Jan 2016, 03:20 AM

As we try to move items to the beginning of the list, an exception is thrown saying the "An item with the same key has already been added."

The attached screen shot shows some variable state, the stack, the exception, and the code on our side.

Also included a snippet of the XAML content for reference.

Is there something we need to configure differently?

 

 

4 Answers, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 26 Jan 2016, 01:07 PM
Hi Jeremy,

As suggested in the other forum thread you have started, please give RadListView a try and let us know if you experience such issues.

Best regards,
Ves
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Daren May
Top achievements
Rank 1
answered on 01 Feb 2016, 06:56 PM

The RadListView and the RadDataboundListBox don't seem to have the same features - the DataBoundListBox supports a "Masonry View" using:

http://docs.telerik.com/windows-universal/controls/raddataboundlistbox/features/databoundlistbox-virtualization-strategies  

Defining the Stack Count
Depending on the wrapping orientation, items will be ordered in columns or rows. You can choose how many columns or rows will be created by setting the StackCount property exposed by the DynamicGridVirtualizationStrategyDefinition class. For example, if the Orientation is set to be Horizontal and the StackCount is set to 3, you will get a result similar to the following:

 I don't see the same features on the RadListBox.

0
Daren May
Top achievements
Rank 1
answered on 01 Feb 2016, 06:56 PM
I mean "RadListView" not "RadListBox"
0
Tsvyatko
Telerik team
answered on 04 Feb 2016, 08:12 AM
Hi Daren,

You are quite correct! While RadListView can cover most of the scenarios of RadDataBoundListBox it still does not offer DynamicGridVirtualizationStrategy analogue (have have plans to include it as well in near future).

Regarding the issue described - we recognize this as an issue in RadDataBoundListBox and will address it in one of our next internal builds.

Regards,
Tsvyatko
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
General Discussion
Asked by
Jeremy
Top achievements
Rank 1
Answers by
Ves
Telerik team
Daren May
Top achievements
Rank 1
Tsvyatko
Telerik team
Share this question
or