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

paging on server side

Thread ID:





124256 May 26,2016 09:14 PM UTC May 30,2016 05:33 AM UTC ASP.NET Web Forms 4
Tags: Grid
Asked On May 26, 2016 09:14 PM UTC


setting the pageSettings info on server side does not work, what I am trying to do is to use CurrentPage and PageSize to retrieve the records, total count from db and set the paging info.

grid.PageSettings.TotalRecordsCount = total;
grid.PageSettings.TotalPages = (int)Math.Ceiling((double)total/grid.PageSettings.PageSize);
grid.PageSettings.PageCount = grid.PageSettings.TotalPages;

grid.datasource = data;

does not seem to work.

Jayaprakash Kamaraj [Syncfusion]
Replied On May 27, 2016 01:04 PM UTC

Hi Kevin, 

Thank you contacting Syncfusion support. 

In ASP.NET, the server-side operations(paging/filtering/sorting) is performed by using the WebMethodAdaptor, and the DataManager parameter is set as value. 
We already have knowledgebase document for server-side operations. Please refer to the below link. 
Jayaprakash K. 

Replied On May 27, 2016 03:34 PM UTC

just briefly look at the documentation. the first question is why? why would it need all records to return and does all that in memory? for paging, the whole point of it is to load less data from the database, if there are millions of rows of data in the table, then it loads them all into the memory. is that the kind of design for efficiency in mind? 

Replied On May 27, 2016 03:57 PM UTC

never mind, will pass the parameters from the datamanager into the data access layer. 

Seeni Sakthi Kumar Seeni Raj [Syncfusion]
Replied On May 30, 2016 05:33 AM UTC

Hi Kelvin, 

If you face any other problem, please let us know. We will help with it. 

Seeni Sakthi Kumar S. 


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