Virtualization issues with long images in the list

2 posts, 0 answers
  1. LMagic
    LMagic avatar
    1 posts
    Member since:
    Oct 2014

    Posted 13 May 2015 Link to this post

    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.

  2. Tsvyatko
    Admin
    Tsvyatko avatar
    833 posts

    Posted 18 May 2015 Link to this post

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