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

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.RadWebControlTelerik.Web.UI.RadDataPager

Events

Adds a DataPagerCreated event handler for the raddatapager

JS
add_DataPagerCreated
Parameters:handlerFunction

The event handler function to attach

Adds a DataPagerCreating event handler for the raddatapager

JS
add_DataPagerCreating
Parameters:handlerFunction

The event handler function to attach

Adds a DataPagerDestroying event handler for the raddatapager

JS
add_DataPagerDestroying
Parameters:handlerFunction

The event handler function to attach

Adds a PageIndexChanging event handler for the raddatapager

JS
add_PageIndexChanging
Parameters:handlerFunction

The event handler function to attach

Adds a PageSizeChanging event handler for the raddatapager

JS
add_PageSizeChanging
Parameters:handlerFunction

The event handler function to attach

Removes a DataPagerCreated event handler from the raddatapager

JS
remove_DataPagerCreated
Parameters:handlerFunction

The event handler function to remove

Removes a DataPagerCreating event handler from the raddatapager

JS
remove_DataPagerCreating
Parameters:handlerFunction

The event handler function to remove

Removes a DataPagerDestroying event handler from the raddatapager

JS
remove_DataPagerDestroying
Parameters:handlerFunction

The event handler function to remove

Removes a PageIndexChanging event handler from the raddatapager

JS
remove_PageIndexChanging
Parameters:handlerFunction

The event handler function to remove

Removes a PageSizeChanging event handler from the raddatapager

JS
remove_PageSizeChanging
Parameters:handlerFunction

The event handler function to remove

Methods

Fires command with command name and command argument specified as arguments

javascript
fireCommand("Page", "First")
fireCommand("PageSizeChange", 10)
JS
fireCommand(String commandName, String commandArgument): void
Parameters:commandNameString

The name of the command that will be executed. Possible values are listed below: * Page * PageSizeChange

commandArgumentString

The command argument with which the command will be executed. Possible values are: * "First", "Next", "Prev", "Last" or integer value for page size

Gets the current page index for the RadDataPager control.

JS
get_currentPageIndex(): Number
Returns:

Number

Gets the page count for the RadDatePager control.

JS
get_pageCount(): Number
Returns:

Number

Gets the page size for the RadDataPager control.

JS
get_pageSize(): Number
Returns:

Number

Gets the index of the first record that is displayed on a page of data.

JS
get_startRowIndex(): Number
Returns:

Number

Gets the total number of records that are displayed in the underlying data source.

JS
get_totalRowCount(): Number
Returns:

Number

Gets the unique id of RadDataPager's container.

JS
get_uniqueID(): String
Returns:

String

Sets the current page index for the RadDataPager control.

JS
set_currentPageIndex(Number index): void
Parameters:indexNumber

The page index

Sets the page size for the RadDataPager control.

JS
set_pageSize(Number size): void
Parameters:sizeNumber

The page size that will be set to the RadDataPager control.

Not finding the help you need?
Contact Support