Hi,
I am using Infragistics 7.1 .
I am trying to implement paging for the ultrawebgrid (by using the following settings), but it does not seem to be working. The issue is that though I set the pagesize =50, I get ALL (more than 50) the records into one page and the pageindex is always only 1. This Ultrawebgrid is in WebAsyncRefreshPanel (if this is in anyway related to the problem)
1) I set the <Pager> settings
AllowPaging="true" PageSize="50" StyleMode="ComboBox" Pattern="Page [default] of [pagecount]" Alignment="Right" ChangeLinksColor="true"
2)Registered the OnPageIndexChanged and handled the PageIndexChanged event where I set the currentpageindex and fetch the data and bind it to the grid
Is there anything else that I need to set and missing it? Any help would be much appreciated.
Thanks!!
I also tried this but it shows the paging numbers on the page but when click on page number the dat does not get refreshed. As you said I have not implemented the PageIndexChanged event. Could you please guide?
Hello Sona2112,
This is just a follow up on the thread if you have any questions in regards to enabling the paging feature of the UltraWebGrid. I ran the attached sample using NetAdvantage 11.1.20111.2020 and also runs fine with the WebAsyncRefreshPanel.
Let me know if you have any questions with this matter. Thank you.
For enabling the paging feature the only required field is to set the AllowPaging property to true. For the rest of the properties works fine and I ran a sample for this. Also handling the PageIndexChanged server side event is only optional for using the paging feature.
Here's the attached sample that I ran in NetAdvantage 11.1.20111.2020. Also it works when wrapping the UltraWebGrid inside the WebAsyncRefreshPanel.