ClientQueryString Property
TOC
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
Available since 2.0
Return to top
Show:
© 2016 Microsoft