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

Virtualization issues with long images in the list

1 Answer 43 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.
LMagic
Top achievements
Rank 1
LMagic asked on 14 May 2015, 03:30 AM

Hi,

I've been using RadDataBoundListBox to develop an app with a forum. Everything worked extremely well until I added images into the item template.

An item in the list (i.e. a post in the forum) is composed of a text block with string content as well as an image control. The image is downloaded from the remote server, of which the height can be up to 1500 pixels. After the whole list had been loaded successfully, it behaved abnormally when scrolling. When the item with a long image was realized, the list suddenly jumped several items back or front. Moreover, I made my way to the top of the list and found the pull-to-refresh indicator disappeared, but it was still functioning.

I thought that this problem has something to do with the virtualization technique. Setting the RealizedItemsBufferScale property to a larger value doesn't seem to help at all. Could you please give me a solution? Many thanks.

1 Answer, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 18 May 2015, 07:46 AM
Hi,

This is known limitation of DataBoundlistBox. You can overcome it if you can set/bind the dimensions of the images in your data template.

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
DataBoundListBox
Asked by
LMagic
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Share this question
or