Edit this page

Paging Overview

The data layer of RadGridView now supports pagination of data natively. You can still bind RadGridView to the same data providers as before with the addition of the paging option. There is a number of features, which will allow you to easily configure and manage the paging of the data.

gridview-paging-overview 001

To access the public API for paging you will use the MasterTemplate property. Here are the more important properties and methods:

  • EnablePaging: Gets or sets a value indicating whether paging is enabled.

  • PageSize: Gets or sets the number of items shown per page.

  • TotalPages: Gets the total number of pages.

  • PageIndex: Gets the zero-based index of the current page.

  • CanChangePage: Gets a value indicating whether page change is possible.

  • IsPageChanging: Gets a value indicating whether a page change operation is underway.

  • MoveToFirstPage: Sets RadGridView to its first page.

  • MoveToPreviousPage: Sets RadGridView to the previous page.

  • MoveToPage(int pageIndex): Sets RadGridView to a specific page.

  • MoveToNextPage: Sets RadGridView to the next page.

  • MoveToLastPage: Sets RadGridView to its last page.

  • PagingBeforeGrouping: Gets or sets a value indicating whether paging is performed before grouping or vice versa.

See Also