Click here to Skip to main content
15,891,657 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, If i have a grid with 1000 records, when i am trying to bind the data into grid all the records are coming into the gird. It is causing my application slow.I want to fetch the records few at a time, i.e if the page size is 20 initially it should load 20 records, after going to send page it should come from the 21 record and should fetch only 20 records from Database.

Thank You
Posted

1 solution

 
Share this answer
 
Comments
Member 10378142 5-Aug-14 5:54am    
Thank You.. Its Working fine for me.. but paging is coming outside the grid..Can we place this paging inside a grid
Nirav Prabtani 6-Aug-14 5:19am    
You have to set style of a pagging Div according to your need .. :)
Member 10378142 6-Aug-14 6:07am    
Thank you.. it is working now.. But the problem at here is Filtering. When i am trying to apply the filter it is giving records within that page only, i am not able to get the records in the other pages

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