Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ClientQueryString Property
Collapse the table of content
Expand the table of content

Page.ClientQueryString Property

Gets the query string portion of the requested URL.

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

public string ClientQueryString { get; }

Property Value

Type: System.String
The query string portion of the requested URL.

The ClientQueryString property contains the query string portion of the URL requested by the browser. For example, if the requested URL is "http://www.contoso.com/default.aspx?id=100", the ClientQueryString property will contain "id=100". The ClientQueryString property is encoded; use the HttpServerUtility.UrlDecode method to decode the query string.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft