Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 10, 2012 04:07 PM by vinz
Feb 04, 2012 03:58 AM|LINK
Here i have to implement one funcitonality like, user information is diplayed in datalist.
auto load content of datalist on page scroll. Like facebook when i scroll down page, data is displayed automaically.
How can i do this?
Need your help in this.
Feb 04, 2012 05:24 AM|LINK
Can anyone please tell me how to load data on scroll down event of page in Datalist?
Feb 10, 2012 03:08 PM|LINK
Not sure how they do it. I am guessing there is a Control near the bottom that fires an event when the user actually views it. it can then get more data. Possibly with a PostBack in an UpdatePanel. (Or more likely, the php variation of that.)
Feb 10, 2012 04:07 PM|LINK
We'll it's really not an easy thing to do.. You'll have to use ajax to get the data from the database upon scrolling down. You may want to take a look at jQuery to do this thing for you. Here's one example:
http://www.webresourcesdepot.com/load-content-while-scrolling-with-jquery/ and here's a sample demo page: