DataPagerField.GetQueryStringNavigateUrl(Int32) Method

Definition

Creates a URL that contains a query string field that has the specified page number.

C#
protected string GetQueryStringNavigateUrl(int pageNumber);

Parameters

pageNumber
Int32

The target page number.

Returns

The target URL.

Remarks

The GetQueryStringNavigateUrl method is used by the NumericPagerField and NextPreviousPagerField pager fields to create the target URL for each button of the pager field. The target URL includes a query string field that contains a name/value pair. The name is the value of the DataPager.QueryStringField property, and the value represents the value of pageNumber.

Applies to

Produkt Verzie
.NET Framework 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

See also