WinForms GridView Overview

The data layer of RadGridView supports pagination of data natively as of R1 2014 (version 2014.1.226). 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.

Telerik UI for WinForms Ninja image

The Paging is part of Telerik UI for WinForms, a professional grade UI library with 160+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

WinForms RadGridView Paging Overview

To access the public API for paging you need to use the RadGridView.MasterTemplate property exposing the MasterGridViewTemplate object. 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: Moves RadGridView to its first page.

  • MoveToPreviousPage: Moves RadGridView to the previous page.

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

  • MoveToNextPage: Moves RadGridView to the next page.

  • MoveToLastPage: Moves RadGridView to its last page.

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

See Also

In this article