Listview IconView Image Performance

2 posts, 0 answers
  1. Jhon
    Jhon avatar
    18 posts
    Member since:
    Jun 2017

    Posted 29 Nov 2017 Link to this post

    Dear, I need to load 03 listview simultaneously and these same handle many records in the iconview, what would be the best way to load and streamline this task by saving the path of the image and then assigning it by using the itemdatabound property or saving the image in arraybyte and then assigning it in the customvisualitem creation.

    Thank you for your attention.

  2. Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    4166 posts

    Posted 30 Nov 2017 Link to this post

    Hello, Jhon,

    Thank you for writing.  

    You can handle the ItemDataBound event, which is fired when the ListViewDataItem is assigned an object from your data source. In the event handler, we can access the data-bound object properties and assign an image to the item. The following help article demonstrates a sample approach:

    Thus, you will assign the image just once to the data item. It is up to you how exactly you will store the image. It is just necessary to assign an Image instance to the data item.

    I would kindly ask you to use our support-ticketing system for any further questions as it is the best way to reach the Telerik support. A post in the Forums doesn't guarantee you a response from a Telerik representative. You can discuss with the community your requirements and possible solutions. Thank you for your understanding.

    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top