System.Web.UI.WebControls.DetailsView.InitializePager Method

Creates the pager row for the System.Web.UI.WebControls.DetailsView control.

Syntax

protected virtual void InitializePager (DetailsViewRow row, PagedDataSource dataSource)

Parameters

dataSource
Documentation for this section has not yet been entered.
row
The System.Web.UI.WebControls.DetailsViewRow that contains the pager row.

Remarks

The DetailsView.InitializePager(DetailsViewRow, PagedDataSource) method is a helper method called by the System.Web.UI.WebControls.DetailsView control to create the pager row. It creates a System.Web.UI.WebControls.TableCell object that contains the navigation controls using the properties of the System.Web.UI.WebControls.PagedDataSource object contained in the pagedDataSource parameter. The cell is then added to the row specified by the row parameter.

Requirements

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