Pages

Load partial data in Gridview using JQuery Ajax

Data controls in asp.net, by default, display all the data that you provide them. However some (in fact many) time, you may want to display only first few records initially and remaining on subsequent user interactions. There are number of ways to achieve this. For example, enabling pagination support on the control (if it supports), implementing server side pagination in your stored procedures or writing custom logic in application code to fetch only required sets of data etc.