New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Can be used in your class implementation to access the information from the PagerItem.Paging object. See Programmatic Pager Customization for an example.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class GridPagingManager

Inheritance: objectGridPagingManager

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Properties

Gets the a value indicating if the custom pagging functionality have been enabled.

C#
public bool AllowCustomPaging { get; }
Property Value:

A value indicating if the custom pagging functionality have been enabled.

Gets or sets a value indicating whether the automatic paging feature is enabled.

C#
public bool AllowPaging { get; }
Property Value:

true if the paging feature is enabled; otherwise, false. The default is false

Number of items in the current page

C#
public int Count { get; }

Gets or sets an integer value representing the current page index.

C#
public int CurrentPageIndex { get; }
Property Value:

zero-based int representing the index of the current page.

Note that the Paging must be enabled (AllowPaging must be true) in order to use this property.

Number of items in the data-source

C#
public int DataSourceCount { get; }

Gets the first index in the current page.

C#
public int FirstIndexInPage { get; }
Property Value:

The first index in the current page.

Gets the a value indicating if the custom pagging functionality have been enabled.

C#
public bool IsCustomPagingEnabled { get; }
Property Value:

A value indicating if the custom pagging functionality have been enabled.

Gets a value indicating if the control is on the first page.

C#
public bool IsFirstPage { get; }
Property Value:

A value indicating if the control is on the first page.

Gets a value indicating if the control is on the last page.

C#
public bool IsLastPage { get; }
Property Value:

A value indicating if the control is on the last page.

Gets or sets a value indicating whether the automatic paging feature is enabled and supported.

C#
public bool IsPagingEnabled { get; }
Property Value:

true if the paging feature is enabled and supported; otherwise, false. The default is false

Gets the last index in the current page.

C#
public int LastIndexInPage { get; }
Property Value:

The last index in current page.

Gets the number of pages required to display the records of the data source in a Telerik RadGrid control.

C#
[SuppressMessage("Microsoft.Usage", "CA2233:OperationsShouldNotOverflow")]
public int PageCount { get; }

When the paging feature is enabled (by setting the AllowPaging property to true), use the PageCount property to determine the total number of pages required to display the records in the data source. This value is calculated by dividing the total number of records in the data source by the number of records displayed in a page (as specified by the PageSize property) and rounding up.

Gets or sets an integer value indicating the number of Items that a single page in Telerik RadGrid will contain.

C#
public int PageSize { get; }
Property Value:

integer, indicating the number of the Items that a single grid page would contain.

Note that the Paging must be enabled (AllowPaging must be true) in order to use this property.

Gets or sets a value, indicating the total number of items in the data source when custom paging is used. Thus the grid "understands" that the data source contains the specified number of records and it should fetch merely part of them at a time to execute requested operation.

C#
public int VirtualCount { get; }
Property Value:

int, representing the total number of items in the datasource. The default value is 0.