DynamicGridVirtualizationStrategy issue

Thread is closed for posting
3 posts, 0 answers
  1. Karol
    Karol avatar
    2 posts
    Member since:
    Apr 2012

    Posted 07 Apr 2015 Link to this post


    I created DataboundListBox with DynamicGridVirtualizationStrategy to get similar layout like pinterest. Unfortunatelly I've got a problem with very fast scrolling up. After so fast scroll this class raises an expcetion: ArgumentException: Item with the same key is already added. This error comes from PositionRealizedItemBottom method when we adding associatedItemData hash code. 

    Here is my xaml:

    <telerikPrimitives:RadDataBoundListBox DataVirtualizationMode="None"
                                ItemsSource="{Binding Model.Items}"
    <telerikPrimitives:RadBusyIndicator AnimationStyle="AnimationStyle9"
                                        Margin="0,6,0,0" />
    <StackPanel VerticalAlignment="Center">
        <telerikPrimitives:RadBusyIndicator Foreground="White"
                                            Content="{Binding LocalizedResources.PreparingContent, Source={StaticResource LocalizedStrings}}" />
    <Grid Height="200" />
    <telerikPrimitives:DynamicGridVirtualizationStrategyDefinition Orientation="Horizontal"
                                                                StackCount="2" />

  2. Karol
    Karol avatar
    2 posts
    Member since:
    Apr 2012

    Posted 07 Apr 2015 in reply to Karol Link to this post

    Sorry this issue is found in Windows Phone 8 Controls. 
  3. Tsvyatko
    Tsvyatko avatar
    863 posts

    Posted 10 Apr 2015 Link to this post

    Hi Karol,

    Thank you for contacting us! We have tried to reproduce the issue on several devices in different scenarios, but with no success. Would it be possible to share some additional information regarding the structure of Item data template as well as the data. Alternatively, you could modify the project attached to reflect the original scenario and reproduce the issue described.


    See What's Next in App Development. Register for TelerikNEXT.

Back to Top