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 Control Paging and Scrolling

Thread ID:





96716 Sep 30,2010 09:00 AM UTC Oct 1,2010 08:44 AM UTC ASP.NET Web Forms (Classic) 1
Tags: GridGroupingControl
Linda Singini
Asked On September 30, 2010 09:00 AM UTC

Hi am following the paging example so far for the grid control , what i need to achieve is to be able to adjust the pagesize at runtime. My number of rows change all the time so i can not specify the pagesize. Another tricky thing i need to do is to freeze a certain number of rows and when i page be able to see them. Is it possible to achieve this. Thank you.

//I changed the OnDemandPaging_OnDemandTotalRowCount event to the following code in the paging example

void OnDemandPaging_OnDemandTotalRowCount(object sender, GridPagerOnDemandTotalRowCountArgs e)
if(Session["Table"] != null){
DataTable dt = (DataTable)Session["Table"];
e.TotalRowCount = dt.Rows.Count;

Bharath M [Syncfusion]
Replied On October 1, 2010 08:44 AM UTC

Hi Linda,

Thank you for your interest in Syncfusion products.

I have segregated your query and responded to each of it for better understanding. Please get back to me if I have missed anyone.

1. Adjust the pagesize at runtime:

“Unable to adjust PageSize at runtime” is already a known issue and it fixed and also included in Essential Studio 2010 Volume 4 which is expected to be release on end of October. We suggest you to periodically check our website for the update.

2. I need to do is to freeze a certain number of rows and when i page be able to see them.

We regret for the inconvenience caused.

We don’t have any property to achieve this from grid source. But you can achieve this by binding desired number of rows with original data rows, each time when grid is requesting for PagedDataSource.

Let me know if you have any concerns.

Bharath M


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