Click here to Skip to main content
15,909,091 members
Please Sign up or sign in to vote.
3.50/5 (2 votes)
See more:
Any can implement virtaul scrolling in gridview in asp.net. have any solution please reply me.
Posted
Updated 20-Feb-12 18:12pm
v2
Comments
Sergey Alexandrovich Kryukov 20-Feb-12 10:31am    
This could be interesting question is you explained this problem properly.
--SA
ZurdoDev 20-Feb-12 14:56pm    
Do not understand.

1 solution

Dear All,

What is Virtual Scrolling?
Answer:- The virtual scrolling feature of the Grid can be customized to work similar to the paging feature. Move the vertical scrollbar up or down to navigate through the pages of the Grid, which will be loaded on demand.

To enable the virtual scrolling with paging feature set the ScrollingSettings.EnableVirtualScrolling and ScrollingSettings.UsePagingForVirtualScrolling properties to true. Also, you need to make sure the vertical scrolling feature is enabled, by setting the ScrollingSettings.ScrollHeight property. The retrieving of records from the database is performed in the event handler of the DataSourceNeeded event.


Important links:-

http://community.devexpress.com/blogs/aspnet/archive/2009/05/18/virtual-scrolling-and-linq-server-mode-in-asp-net-gridview.aspx[^]

http://www.obout.com/grid/aspnet_scroll_virtual_paging.aspx[^]

http://demos.telerik.com/aspnet-ajax/grid/examples/client/virtualscrollpagingclientbinding/defaultcs.aspx[^]

Link for virtual scrolling without third part control:-
http://www.eggheadcafe.com/tutorials/asp-net/b8381915-06d9-4538-b4bb-5ac2a8e73f34/implementing-continuous-scrolling-ui-pattern-in-aspnet.aspx[^]
 
Share this answer
 
v3
Comments
vikaschhetri87 22-Feb-12 3:23am    
thanks for answer varun, but link which you mentioned for reference that is third party control. and i am not using any third party control in our application.
Varun Sareen 22-Feb-12 23:16pm    
vikas, i have updated my solution please see the last link. I hope it will solve your purpose
vikaschhetri87 23-Feb-12 1:40am    
thanks varun. it works fine...one more question can we implement it with our page scrolling
Varun Sareen 23-Feb-12 11:49am    
i couldn't get you..you mean you want to do parallel scrolling..scrolling grid scroll while scrolling the page? is it so??
vikaschhetri87 5-Mar-12 0:17am    
varun, still it work with gridview scroll bar, i dont want scroll bar on gridview, it should handle by page scroll bar..

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