Thanks for you response. I am trying to do this in a windows application and not a web page. Do you have examples for a windows application? I am currently displaying data in GGC and just want to add the functionality of paging to the form.
>Hi Johnny,
Thank you for your interest in Syncfusion Products.
The GridPager control is used to page the data and to display as a navigation control for databound controls that implement the IPagingContainer interface. You can associate the GridPager control with the PagingControlID. This would bind the GridPager with the databound control. The default markup that is rendered requires client script to do postbacks.
Pager Items :
In order to render out the navigation elements, you must add the Pager Items to the control. The following list of pager items can be used with the GridPager.
- NextPreviousPagerItem - Enables users to navigate through pages, one page at a time, or to jump to first or last page.
- NumericPagerItem - Enables user to select a page by page number.
- TemplatePagerItem - Enables user to create custom paging UI.
Find the below code to add a Grid pager to the page.
[ASPX]
Please refer the below sample link.
http://samples.syncfusion.com/ASPNET/7.1.0.30/Web/Grid.grouping.web/samples/3.5/Paging/SimplePaging/CS/GGCWithGridPager.aspxYou can also set the custom images to GridPagerItems by specifying ButtonType property to Image. Please refer the code snippet to achieve this.
Please refer the sample below which illustrates for displaying customer images for page navigating.
http://files.syncfusion.com/support/GGC.Web/7.1.0.30/55003/main.htmWe appreciate your patience and please let me know if this helps you.
Thanks,
Rekha