If you have your custom implementation for paging, note that the built-in paging panel actually takes into consideration the total number of rows in the RadGridView.Rows
collection. If you have a DataSource
collection that stores only the records for the current page, it is normal that only one button will be displayed. In order to obtain more page number buttons, feel free to reduce the page size and thus if you have 20 records in the DataSource
and the page size is 5
, you are expected to obtain 4
pages and 4
page number buttons respectively.
However, I would like to suggest you using RadVirtualGrid
. It is a grid component developed on top of Telerik Presentation Framework which provides a convenient way to implement your own data management operations and optimizes the performance when interacting with large amounts of data. It also supports paging and the data is loaded on demand with firing the CellValueNeeded
event. Additional information is available in the online documentation: https://docs.telerik.com/devtools/winforms/controls/virtualgrid/overview.html
I hope this information helps.
Dess | Tech Support Engineer, Sr.
Get quickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.