This documentation is archived and is not being maintained.

DataPagerField::QueryStringValue Property

Gets the value of the query string field from the URL of the request.

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

protected:
property String^ QueryStringValue {
	String^ get ();
}

Property Value

Type: System::String
The value of the query string field.

When the DataPager::QueryStringField property is not an empty string or nullptr, the DataPager control uses the HTTP GET command to navigate through the pages. A query string field that consists of a name/value pair is added to the URL of the page. The QueryStringValue property retrieves the value of the query string field from the URL of the request. The QueryStringValue property contains the requested page number.

This property is used by the NumericPagerField and NextPreviousPagerField pager fields to evaluate the index of the first record for the page of data requested. The page properties of the DataPager control are then updated.

.NET Framework

Supported in: 4, 3.5

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: