System.Web.UI.WebControls.GridView.InitializePager Method

Initializes the pager row displayed when the paging feature is enabled.

Syntax

protected virtual void InitializePager (GridViewRow row, int columnSpan, PagedDataSource dataSource)

Parameters

dataSource
Documentation for this section has not yet been entered.
row
A System.Web.UI.WebControls.GridViewRow that represents the pager row to initialize.
columnSpan
The number of columns the pager row should span.

Remarks

The GridView.InitializePager(GridViewRow, int, PagedDataSource) method is used to initialize the pager row displayed when the paging feature is enabled.

Note:

This method is used primarily by control developers to extend the System.Web.UI.WebControls.GridView control.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0