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