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.)
Superguppie.
Please remember to click “Mark as Answer” on the post that helps you. This can be beneficial to other community members reading the thread.
When all you've got is a Hammer, Every Problem looks like a Nail. Michael Swain.
bhargav panc...
Member
219 Points
82 Posts
Load data on Scroll Down event in DataList
Feb 04, 2012 03:58 AM|LINK
Hello Friends,
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.
Bhargav Panchal
Please remember to click “Mark as Answer” on the post that helps you. This can be beneficial to other community members reading the thread.
bhargav panc...
Member
219 Points
82 Posts
Re: Load data on Scroll Down event in DataList
Feb 04, 2012 05:24 AM|LINK
Can anyone please tell me how to load data on scroll down event of page in Datalist?
i need.
Bhargav Panchal
Please remember to click “Mark as Answer” on the post that helps you. This can be beneficial to other community members reading the thread.
superguppie
All-Star
48225 Points
8679 Posts
Re: Load data on Scroll Down event 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.)
Please remember to click “Mark as Answer” on the post that helps you. This can be beneficial to other community members reading the thread.
When all you've got is a Hammer, Every Problem looks like a Nail. Michael Swain.
vinz
All-Star
127077 Points
17946 Posts
MVP
Re: Load data on Scroll Down event in DataList
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: http://www.webresourcesdepot.com/dnspinger/
MessageBox Controls for WebForms | Blog | Twitter | Linkedin