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

Issue with missing item when using WrapVirtualizationStrategyDefinition

10 Answers 113 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.
An Dinh
Top achievements
Rank 1
An Dinh asked on 10 Dec 2012, 06:03 PM

I tried to display list box with simple item as below:
<telerikPrimitives:RadDataBoundListBox Name="listboxProgram"                    
                 ItemsSource="{Binding VideoPrograms}"
                 EmptyContent=""
                 telerikCore:InteractionEffectManager.IsInteractionEnabled="True"
                 ItemTap="listboxProgram_ItemTap"
                 DataVirtualizationMode="OnDemandAutomatic" >
                 <telerikPrimitives:RadDataBoundListBox.ItemTemplate>
                     <DataTemplate>                           
                         <Grid Width="200" Height="200" Margin="0,0,10,10">
 
                             <TextBlock TextWrapping="Wrap" MaxHeight="100"
                                     VerticalAlignment="Bottom"
                                     Text="{Binding Title}"
                                     Foreground="Black"
                                     Margin="5,0,5,5"/>
                           
                         </Grid>
                     </DataTemplate>
                 </telerikPrimitives:RadDataBoundListBox.ItemTemplate>
 
                 <telerikPrimitives:RadDataBoundListBox.VirtualizationStrategyDefinition>
                     <telerikPrimitives:WrapVirtualizationStrategyDefinition Orientation="Horizontal" />
                 </telerikPrimitives:RadDataBoundListBox.VirtualizationStrategyDefinition>
 
                 <telerikPrimitives:RadDataBoundListBox.ItemLoadingTemplate>
                     <DataTemplate>
                         <telerikPrimitives:RadBusyIndicator IsRunning="True" Width="410"
                                 Content="" AnimationStyle="AnimationStyle9" />
                     </DataTemplate>
                 </telerikPrimitives:RadDataBoundListBox.ItemLoadingTemplate>
 
                 <telerikPrimitives:RadDataBoundListBox.ItemAddedAnimation>
                     <telerikCore:RadMoveAnimation StartPoint="500,0" EndPoint="0,0" Duration="0:0:0.8">
                         <telerikCore:RadMoveAnimation.Easing>
                             <ExponentialEase EasingMode="EaseOut"/>
                         </telerikCore:RadMoveAnimation.Easing>
                     </telerikCore:RadMoveAnimation>
                 </telerikPrimitives:RadDataBoundListBox.ItemAddedAnimation>
             </telerikPrimitives:RadDataBoundListBox>


My problem is that: sometimes I scroll down or up on this list. Some items are missing and/or be translated ~200 pixel to the right (item is rendered over the listbox). These issues happen with Telerik Rad Controls Q1 - Q3 2012. Please also take a look at attached image for more details.

I'd like to know if these are already known issues ? Is there any plan to fix it or workaround now ?

10 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 12 Dec 2012, 10:40 AM
Hi An,

 
Thanks for writing and for the shared details.

We are not aware of similar issues in RadDataBoundListBox when in Wrap Mode. It seems that this issue occurs in the context of your scenario and therefore we will need a sample project which reproduces it to be able to debug it. Can you please prepare such project or directly send us your application for further investigation?

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

Thanks for your time.

All the best,
Deyan
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
An Dinh
Top achievements
Rank 1
answered on 13 Dec 2012, 09:30 AM
Hi,

I've already submitted support ticket (ID: 639928) with example project and screenshots of bug.

I also attach bugs screenshots here to see if anyone could face to the same issue.

Thanks,
An Dinh
0
Rafał
Top achievements
Rank 1
answered on 25 Sep 2013, 03:14 PM
I have the exact same problem with very simple layout. Did u managed to fix it?
0
Deyan
Telerik team
answered on 25 Sep 2013, 03:53 PM
Hello Rafal,

Thanks for writing.

Yes, the issue mentioned in this thread has been resolved with a fix from our side. Since this fix has been included in a build from 2012 and you continue experiencing issues, it might be so that they are caused by something different.

Is it possible for you to open a new support ticket and provide us with a sample project that we can use to investigate the issue and see what to do next?

Thanks for your time.

Regards,
Deyan
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Shah Z
Top achievements
Rank 1
answered on 11 Dec 2014, 05:03 PM
hi Deyan.. I understand from this thread that it is already fixed, but i am also experiencing the same issue.. 
From the ticket mention by An Dinh is there a workaround for to fix this issue?

Seriously need help on this..


Shah
0
Rosy Topchiyska
Telerik team
answered on 16 Dec 2014, 01:58 PM
Hello,

Thank you for writing.

We will be very grateful if you send us a sample project that reproduces the issue.

I look forward to your reply.

Regards,
Rosy Topchiyska
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Yauhen
Top achievements
Rank 1
answered on 03 Mar 2015, 10:25 AM
Hello,

Did you manage to fix the problem? Actually, I have the same one.

I'm using a ListPicker, which is set up to utilize a popup to select a value.
As far as I see, the popup is implemented using DataBoundListBox inside of it. I've just made a little tweak - applied a new style to DataBoundListBox, where I specified utilization of WrapVirtualizationStrategyDefinition.

When the first item from the list is selected, the popup page looks great. As soon as any other item selected, a kind of a line break appears before that item, so no matter how many items are in a WrapRow, the selected item (and the rest of them) starts from a new line.

Please take a look at screencast: http://i.imgur.com/2KEvu58.gif
0
Rosy Topchiyska
Telerik team
answered on 05 Mar 2015, 08:31 AM
Hi Yauhen,

Unfortunately, we could not reproduce this issue on our side. I have attached the sample project that we used to test your scenario. Could you please take a look and modify it to reproduce the problem?

I look forward to your reply. 

Regards,
Rosy Topchiyska
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Yauhen
Top achievements
Rank 1
answered on 05 Mar 2015, 02:30 PM
Hi Rosy,

Thanks for quick turnaround!

The issue can be reproduced in several ways:

1. The simplest one is just to define SelectedIndex property explicitly:
<telerikInput:RadListPicker ItemsSource="{Binding Items}"
                     Style="{StaticResource RadListPickerStyle1}"
                     SelectedIndex="4">

2. The second one is a bit more real-world example. I've introduced a new landing page, which allows you to navigate to the page with ListPicker. Additionally, I added a kind of a service, which provides ViewModel with immutable data collection and saves the selected value (Color name) like settings in real application do. Please find the sample code (couldn't attach zip): https://www.dropbox.com/s/0awtvj3ya7j347s/WrapStrategy_Bug.zip?dl=0

Looking forward to you answer.
Thanks in advance.
0
Rosy Topchiyska
Telerik team
answered on 10 Mar 2015, 12:55 PM
Hello Yauhen,

Thank you for the information and the example. It helped us to successfully reproduce the problem and our developers will do their best to fix it for the next release of the controls. I have also updated your Telerik points as a token of gratitude for bringing this issue to our attention.

Regards,
Rosy Topchiyska
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
DataBoundListBox
Asked by
An Dinh
Top achievements
Rank 1
Answers by
Deyan
Telerik team
An Dinh
Top achievements
Rank 1
Rafał
Top achievements
Rank 1
Shah Z
Top achievements
Rank 1
Rosy Topchiyska
Telerik team
Yauhen
Top achievements
Rank 1
Share this question
or