views:

392

answers:

2

i have a query that returns large sets of records which i render on the view. I would like to add paging so i only show 10 records at a time. I also want it so when i click next, i just get the next 10 records without refreshing the whole page. what is the best way to do that using ajax to avoid redownloading all of my website images and header if i am only wanting to change the content of the list of data.

A: 

That is covered in depth in the NerdDinner walkthrough. Here's a link to a C# Corner article that references it heavily and takes you on a step-by-step walkthrough of implementing paging.

George Stocker
but this is paging going back to the server each time and full page refresh.. i want to avoid a full page refresh
ooo
A: 

This should help ajax and asp.net mvc

lucky
this looks like it goes back to the server as well . . i want a solution that doesn't do a full page refresh
ooo