InitializePager Method
Collapse the table of content
Expand the table of content

GridView.InitializePager Method (GridViewRow, Int32, PagedDataSource)

 

Initializes the pager row displayed when the paging feature is enabled.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

Protected Overridable Sub InitializePager (
	row As GridViewRow,
	columnSpan As Integer,
	pagedDataSource As 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.

System_CAPS_noteNote

This method is used primarily by control developers to extend the GridView control.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft