GridPagingManager
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:
public class GridPagingManager
Inheritance: objectGridPagingManager
Inherited Members
Properties
Gets the a value indicating if the custom pagging functionality have been enabled.
public bool AllowCustomPaging { get; }
A value indicating if the custom pagging functionality have been enabled.
Gets or sets a value indicating whether the automatic paging feature is enabled.
public bool AllowPaging { get; }
true if the paging feature is enabled; otherwise, false. The default is false
Gets or sets an integer value representing the current page index.
public int CurrentPageIndex { get; }
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
public int DataSourceCount { get; }
Gets the first index in the current page.
public int FirstIndexInPage { get; }
The first index in the current page.
Gets the a value indicating if the custom pagging functionality have been enabled.
public bool IsCustomPagingEnabled { get; }
A value indicating if the custom pagging functionality have been enabled.
Gets a value indicating if the control is on the first page.
public bool IsFirstPage { get; }
A value indicating if the control is on the first page.
Gets a value indicating if the control is on the last page.
public bool IsLastPage { get; }
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.
public bool IsPagingEnabled { get; }
true if the paging feature is enabled and supported; otherwise, false. The default is false
Gets the last index in the current page.
public int LastIndexInPage { get; }
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.
[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.
public int PageSize { get; }
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.
public int VirtualCount { get; }
int, representing the total number of items in the datasource. The default value is 0.