GridView.InitializePager(GridViewRow, Int32, PagedDataSource) Method
Definition
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)
Parameters
- 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.
Remarks
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.