I use the Custom Pager from this tutorial:http://community.infragistics.com/aspnet/media/p/79157.aspx
When I change a page with the pager, then I see the result from the last selected page.
When I the page is loaded I see page 0When I select page 2 I see page 0When I select page 5 I see page 2When i select page 10 I see page 5
The page change event handler
protected void customPager1_PageChanged(object sender, PageSettingsChangedEventArgs e){ if ((e.TotalNumberOfPages - 1) < e.PageIndex) { wdg1.Behaviors.Paging.PageIndex = 0; } else { wdg1.Behaviors.Paging.PageIndex = e.PageIndex; }}
What's wrong with the Custom Pager?
There was no report of this yet. I'd suggest you to contact dev support regarding this. Thanks.
Hello,
Thank you for your answer. the webtab is not in async mode it has the default value AsyncMode="NotSet".
While I was looking for a solution for my problem. I found that the webdatagrid on the first tab the pager of this grid not worked so it has to be. On the second tab it works fine.
On the first tab I use InitializeRow, on the second tab I don't use it.When I do not implement this method on the grid in the first tab. It works fine? in other grids in my application does the pager not works when I use the method InitializeRow or templatefields.
Is this a known issue?
Is the webtab in its async mode? If so unfortunately the two are not compatible. I'd suggest turning off the async mode on the tab and place an UpdatePanel into the tab's content template to gain similar functionality.