how to apply the load on demand (Lazy loading) concept in datalist for Images using asp.net?

前端 未结 3 1710
孤街浪徒
孤街浪徒 2020-12-18 16:23

In my asp.net application have one data list, page load event I have to bind number of image items(1000), how to apply the load on demand (What you can say Lazy loading of i

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-18 16:57

    There is not any built in function in asp.net to do this task.But you may use jquery plugin for this purpose.

    Lazy loader delays loading of images in (long) pages. Images below the fold (far down in the page) wont be loaded before user scrolls down.

    For details see a link. http://archive.plugins.jquery.com/project/lazyload

提交回复
热议问题