This is a migrated thread and some comments may be shown as answers.
Listview IconView Image Performance
1 Answer 11 Views
This is a migrated thread and some comments may be shown as answers.
Jhon
Top achievements
Rank 1
Jhon asked on 29 Nov 2017, 07:16 PM
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.

regards

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 30 Nov 2017, 11:45 AM
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: https://docs.telerik.com/devtools/winforms/listview/populating-with-data/data-binding

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.

Regards,
Dess
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.
Asked by
Jhon
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or