Load large dataset with infinite scroll in ASP.NET (CSASPNETInfiniteLoading)

Infinite scroll, has also been called autopagerize, unpaginate, endless pages. But essentially it is pre-fetching content from a subsequent page and adding it directly to the user’s current page. The code sample demonstrates loading a large number of dat

C# (81.5 KB)
 
 
 
 
 
4 Star
(4)
29,696 times
Add to favorites
5/5/2011
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • New data is put in front of old data
    1 Posts | Last post September 09, 2014
    • The line:
      $('.divLoadData:last').after(data.d);
      should be changed to:
      $('.divLoadData:last').before(data.d);
      
      When scrolling, new data is appended in front of the div, the correct way.
      
      On the Foo method you can enable [WebMethod(EnableSession=true)]
      and putting a counter in the data result to check things working properly.
      
  • not loading
    1 Posts | Last post December 11, 2013
    • i can the image .. but it just not loading the data for me
  • How to stop the data is completed?
    1 Posts | Last post May 23, 2013
    • I want to stop the loading once the xml data content is completed. No need to repeat the data again and again