Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
350
WebGrid pager not shown properly
posted

I have a grid (v8.2) that shows the result of a search filter. If I acces the web page with a predefined filter and look for the data in the Page_Load event, the pager says I have only one page of data. But if I do anything that has an async. postback, then the pager changes and says there are 4 pages (which is the right number of pages). Also, if I get to the page without predefined filters and DO NOT look for data in Page_Load, when I hit "Find" it shows the 4 pages.

In the other hand, if I enter the web page with a filter that end with too few records (less than the pager size) then the pager does not appear.

 This are my Pager settings:

.AllowPaging = True
.PageSize = 50
.StyleMode = Infragistics.WebUI.UltraWebGrid.PagerStyleMode.QuickPages
.QuickPages = 15
.MinimumPagesForDisplay = 2