This is a migrated thread and some comments may be shown as answers.
ideas to preload images in kendo grid
2 Answers 23 Views
This is a migrated thread and some comments may be shown as answers.
El Chamo
Top achievements
Rank 2
El Chamo asked on 19 Nov 2015, 10:16 AM

Greetings,

I'm using the kendo grid as an ImageViewer to show thousand of images; these images are being shown one by one (paging size = 1) with only Next and Previous buttons as paging navigation; every time i click next, the image is downloaded from azure; don't know if it's relevant but I'm using the ClientRowTemplate property to construct a normal <img src='#: data.filename :#' /> which is why the image is downloaded by the browser when the row has been loaded. 

I would appreciate any ideas to download in chunks of 20 or even 100 images in the background so they appear instantaneously on every new page?

Thanks a lot,

hope it makes sense,

Geo

 

2 Answers, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 19 Nov 2015, 12:51 PM
Hello Geo,

Although that this is not related to the widget itself, I could suggest that you take a look at the following article, where few ways for pre-loading images are mentioned:
Hope this helps.


Regards,
Konstantin Dikov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
El Chamo
Top achievements
Rank 2
answered on 19 Nov 2015, 01:30 PM

Thanks for the ideas Konstantin,

I'll try to integrate the ajax method of your suggestion with the grid's on paging change event and see what  i get.

 

Tags
Grid
Asked by
El Chamo
Top achievements
Rank 2
Answers by
Konstantin Dikov
Telerik team
El Chamo
Top achievements
Rank 2
Share this question
or