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.
Syncfusion Feedback

Problem with DataPagerExt in WPF

Thread ID:

Created:

Updated:

Platform:

Replies:

116318 May 14,2014 11:28 AM UTC May 19,2014 01:53 PM UTC WPF 1
loading
Tags: GridDataControl
Mike Anderson
Asked On May 14, 2014 11:28 AM UTC

I am unable to create a new thread on this Forum under the WPF section - problem selecting from the Control Combobox, so I'll try posting this issue here:

I'm using a DataPagerExt attached to a GridDataControl in WPF and am having problems getting the PageCount set properly. First - is there a mode in which the DataPager can calculate the PageCount and show the proper number of pages on the control itself, or do I have to set PageCount programmatically? I'm thinking, if I can tell the DataPager the total number of items and pageSize, then it should be able to set the number of pages to show. I see in the code example (OnDemandPagingDemo_2010), the pageCount is set programmatically, but when I try to set it dynamically (because it can change depending on other context and events), I don't see the new pageCount values until I start going back and/or forward in the pages.

Any suggestions?

Thanks,

Mike           



Jayapradha S [Syncfusion]
Replied On May 19, 2014 01:53 PM UTC

Hi Mike,

 

Thanks for contacting Syncfusion support.

 

We analyzed your query and we don’t have support to change the PageCount and pageSize dynamically in DataPagerExt.  In our SfDataPager control, we have provided the support to change the change the PageCount and pageSize dynamically.

 

Please refer the below attached sample and UG document link.

 

UG Link: http://help.syncfusion.com/ug/wpf/sfdatagrid/default.htm#!documents/ondemandpaging.htm

 

Regards,

Jayapradha S


Attachment: CS_41270eab.zip

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.

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

;