Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to create a custom pager for the ASPxGridView with the "Selecting a page size" feature

$
0
0

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

Added By: KDI at: 7/17/2013 2:37:12 AM    

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.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>