A custom pager implementation can be performed by using separate controls. However, under certain circumstances (due to the control hierarchy recreation), it is difficult to implement this feature using a server-side code only.
This example demonstrates how to achieve the desired result using ASPxComboBoxes within the PageBar template.
See Also:
E358
How to create an ASPxGridView with custom pager with the "Selecting a page size" feature at Runtime
Example Comments
Added By: aviad penzak at: 7/8/2012 5:21:49 AM
after selecting a page in the "cbPage" combobox the correct data in grid appears but the page number in the combobox control remains "1"
I am using the below code in update pannel
Hi,
We want to achieve a similar functionality of creating a custom pager, but we are generating our grid at runtime in ".aspx.cs" file. Our grid is not declared/defined in .aspx file.
Is there a way to create PagerBar template using the C# code in .".aspx.cs" file? It would be gret if you can share a working example which serves this purpose.
Thanks.