DataGrid.InitializePager Method
.NET Framework 4.5
Creates a DataGridItem object that contains the paging UI.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
protected virtual void InitializePager( DataGridItem item, int columnSpan, PagedDataSource pagedDataSource )
Parameters
- item
- Type: System.Web.UI.WebControls.DataGridItem
The DataGridItem that contains the pager.
- columnSpan
- Type: System.Int32
The number of columns to span the pager.
- pagedDataSource
- Type: System.Web.UI.WebControls.PagedDataSource
A PagedDataSource that contains the properties for the pager.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Note