UWP RadDataBoundListBox crashes when moving items

5 posts, 0 answers
  1. Jeremy
    Jeremy avatar
    2 posts
    Member since:
    Jan 2016

    Posted 21 Jan Link to this post

    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?

     

     

  2. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 26 Jan Link to this post

    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
  3. DevCraft banner
  4. Daren May
    Daren May avatar
    4 posts
    Member since:
    Apr 2010

    Posted 01 Feb in reply to Ves Link to this post

    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.

  5. Daren May
    Daren May avatar
    4 posts
    Member since:
    Apr 2010

    Posted 01 Feb in reply to Daren May Link to this post

    I mean "RadListView" not "RadListBox"
  6. Tsvyatko
    Admin
    Tsvyatko avatar
    833 posts

    Posted 04 Feb Link to this post

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