GridView.InitializePager(GridViewRow, Int32, PagedDataSource) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes the pager row displayed when the paging feature is enabled.
protected:
virtual void InitializePager(System::Web::UI::WebControls::GridViewRow ^ row, int columnSpan, System::Web::UI::WebControls::PagedDataSource ^ pagedDataSource);
protected virtual void InitializePager(System.Web.UI.WebControls.GridViewRow row, int columnSpan, System.Web.UI.WebControls.PagedDataSource pagedDataSource);
abstract member InitializePager : System.Web.UI.WebControls.GridViewRow * int * System.Web.UI.WebControls.PagedDataSource -> unit
override this.InitializePager : System.Web.UI.WebControls.GridViewRow * int * System.Web.UI.WebControls.PagedDataSource -> unit
Protected Overridable Sub InitializePager (row As GridViewRow, columnSpan As Integer, pagedDataSource As PagedDataSource)
- row
- GridViewRow
A GridViewRow that represents the pager row to initialize.
- columnSpan
- Int32
The number of columns the pager row should span.
- pagedDataSource
- 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.
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: