We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid Virtual Scrolling issue

Thread ID:





125001 Jul 13,2016 01:09 PM UTC Jul 14,2016 12:59 PM UTC ASP.NET Web Forms 1
Tags: Grid
Asked On July 13, 2016 01:09 PM UTC


i have a grid with virtual scrolling 
<ScrollSettings AllowVirtualScrolling="true" VirtualScrollMode="Continuous">
The grid is populated on the server side page.load via datatable that is filled from SQL db

The problem is when I scroll on any page greater then 1. and refresh the grid (button which refreshes the grid, also on the server side, same code as in page load)
  Grid1.DataSource = db.getData("Select") - db is a function that returns datatable from sql
all the pages from 1. to the page i'm currently on disappear and are not visible, even though you can still scroll to the beginning but seeing no rows.

Page where the refresh happened and all the rest >= are correctly refreshed and visible.

Karthick Kuppusamy [Syncfusion]
Replied On July 14, 2016 12:59 PM UTC

Hi Pratura, 

Thanks for Contacting Syncfusion Support. 

We have analyzed your requirement and we can’t able to reproduce the issue at our end. Please find the code example: 

<ej:button id="Stop" runat="server" text="serverstart" size="Large" showroundedcorner="true" 
    <ej:Grid ID="FlatGrid" runat="server" AllowSorting="True" AllowScrolling="True" DataSourceID="SqlData"  > 
       <ScrollSettings AllowVirtualScrolling="True" Height="300" Width="auto" VirtualScrollMode="Continuous"></ScrollSettings> 
    <asp:SqlDataSource ID="SqlData" runat="server" ConnectionString="<%$ ConnectionStrings:NORTHWNDConnectionString %>" 
            SelectCommand="SELECT * FROM [Territories]"></asp:SqlDataSource> 
script type="text/javascript"> 
 function DoPostBack() { 
              __doPostBack('Stop', 'My Argument');// 
We have posted through button click and the Grid is automatically refreshed in every post back action. Please find the screen shot. 

Grid scrolling to next page : 


After post back :  


For your reference we have created a sample. 

Could you please share the following details it would be helpful for us to find the solution at earliest. 

1.Please share the more details about your requirement? 

2.Please reproduce the issue in the attached sample and revert it to us if it is possible? 

3.please share the sample or code snippet if it is possible? 

4.please share the replication procedure to reproduce the issue? 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon