ASP.NET - Bind Grid at virually - Asked By msakt on 21-May-12 03:53 AM

i have 5000 records in i want bind 1000 records in grid when i scroll after 1000 records bind..its so dont use paging..
Reena Jain replied to msakt on 21-May-12 04:04 AM

Create a datatable property in model layer. First read 100 rows into it and bind it to grid. for example your grid show 50 records on one page...

here you will have grid with 2 page and next page...

if use see result in 2 page and after that click on next page...then again fetch next 100 records and appent it into your same datatable and just referesh you datasource.

and keep on doing this thing. It will increase performance of your page. You can create a web user control for it.

try this and let me know if any concern
Somesh Yadav replied to msakt on 21-May-12 04:22 AM
check this,
Jitendra Faye replied to msakt on 21-May-12 04:31 AM
If You  want to use Virtual Scrolling/Paging then you can use RadGrid control.

When scrolling with the virtual scroll bar,
RadGrid can use either standard postbacks or AJAX requests (when AJAX callbacks are enabled using RadAjaxManager, RadAjaxPanel, or MS UpdatePanel). By using AJAX callbacks, the overall behavior is smooth, with no flicker.

Follow this link-