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.
Unfortunately, activation email could not send to your email. Please try again.

Windows Forms Paging

Thread ID:

Created:

Updated:

Platform:

Replies:

131070 Jun 19,2017 04:48 AM Jun 20,2017 11:40 AM Windows Forms 1
loading
Tags: GridDataBoundGrid(Classic)
Yazid
Asked On June 19, 2017 04:57 AM

Hi,I have a GridDataBoundGrid DataSource that is filled from Server Side paging. But I want paging with this for the client.So for example. The server responds with a result of 10 rows from the 100, together with information about the amount of pages. But the client needs to show that there are 10 pages. Also there is WCF involved in this.What is the best way to do this?Thanks in advance.

Mohanraj Gunasekaran [Syncfusion]
Replied On June 20, 2017 11:40 AM

 Hi Yazid, 
 
Thanks for using Syncfusion product. 
 
By default, GridDataBoundGrid does not have the paging support. So, we would suggest to use the GridGroupingControl which has the paging support. Please refer the below code example, 
 
Code example 
Pager pager = new Pager(); 
pager.Wire(this.gridGroupingControl1); 
 
 
Please refer the below UG link, 
 
We can set the number of records to visible in the page by using PageSize property. Please refer to the below code example, 
 
Code example 
Pager pager = new Pager(); 
pager.PageSize = 10; 
pager.Wire(this.gridGroupingControl1); 
 
 
Please refer the below UG link, 
 
If you want to load the record in Pager on demand, it does not have the support for loading the records on demand. Already, we have logged feature report for “Loading the records for each page on demand directly from the server” for GridGroupingControl. So, this feature will be available in any of our upcoming releases.  
 
Regards, 
Mohanraj G 
 


CONFIRMATION

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.

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.

;