Click here to Skip to main content
15,890,506 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a UserControl (which is a nested GridView something like fb wall) in a WebForm. I want to load the rows on scrolling down or by clicking on a button or LinkButton at the bottom to load more. I googled and i found certain examples like..

Loading Page on Scroll Down[^]

Loading GridView On Scroll Down[^]

The first example uses XML and i have no clue what it is.
The Second example looks promising but it not exactly like fb since the size of gridview does not increase it stays fixed in 2nd example .
I am a beginner so please guide me how to achieve this task.
Posted

 
Share this answer
 
Comments
arbaaz jalil 12-Apr-13 7:11am    
The Problem with your method is that it is taking last productid from the first column like this
var lastProductId = $("#GridViewUserScraps tr:last").children("td:first").html();

and in my case i do not showing the id in forst or any column for that matter.
Hi frnd,

This demo will help u!

Auto-loading-content-on-page-scroll-in-aspnet-using-jquery


Thanx,
Karthik.J
 
Share this answer
 
Comments
arbaaz jalil 12-Apr-13 7:11am    
The Problem with your method is that it is taking last productid from the first column like this
var lastProductId = $("#GridViewUserScraps tr:last").children("td:first").html();

and in my case i do not showing the id in forst or any column for that matter.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900