GridView.InitializePager Method (GridViewRow, Int32, PagedDataSource)
.NET Framework (current version)
Initializes the pager row displayed when the paging feature is enabled.
Assembly: System.Web (in System.Web.dll)
protected virtual void InitializePager( GridViewRow row, int columnSpan, PagedDataSource pagedDataSource )
Parameters
- row
-
Type:
System.Web.UI.WebControls.GridViewRow
A GridViewRow that represents the pager row to initialize.
- columnSpan
-
Type:
System.Int32
The number of columns the pager row should span.
- pagedDataSource
-
Type:
System.Web.UI.WebControls.PagedDataSource
A PagedDataSource that represents the data source.
The InitializePager 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 GridView control. |
.NET Framework
Available since 2.0
Available since 2.0
Show:
