GridView.InitializePager Method (GridViewRow, Int32, PagedDataSource)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

abstract InitializePager : 
        row:GridViewRow *
        columnSpan:int *
        pagedDataSource:PagedDataSource -> unit
override InitializePager : 
        row:GridViewRow *
        columnSpan:int *
        pagedDataSource:PagedDataSource -> unit

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: