New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Server-side Programming Overview

Below are listed the most important properties and events of RadDataPager control.

Properties

PropertyDescription
PagedControlIDGets or sets the ID of the control that implements one of the following interfaces - IPageableItemContainer or IRadPageableItemContainer . This is the control that will be paged by RadDataPager control. If RadDataPager is placed in Controls collection of IPageableItemContainer / IRadPageableItemContainer setting this property is optional. In case PagedControlID is not set RadDataPager will attempt to find its container automatically.
PageSizeGets or sets the number of items and rows to display on each page.
StartRowIndexGets the index of the first record that is displayed on a page of data.
TotalRowCountGets the total number of records that are displayed in the underlying data source.
MaximumRowsGets the maximum number of records that are displayed for each page of data.

Events and methods

EventDescription
FieldCreatingFired before a field is created. You can handle the event to load custom pager field on post back and to replace or modify the instance of the field that should be created and added into the collection of field in the corresponding RadDataPager.
FieldCreatedThis event is fired after a pager field is created.
CommandFired when any button is clicked or containing control value is changed in RadDataPager control.
MethodDescription
FireCommandCan be used for manually triggering commands in code rather than clicking the pager buttons, etc.
In this article
PropertiesEvents and methods
Not finding the help you need?
Contact Support