Hi,
I'm using the System.Web.HttpContext.Current.Request.QueryString collection as part of a method but am getting some odd behaviour if any of the query string names contain an underscore. For example, if the URL is
then System.Web.HttpContext.Current.Request.QueryString.ToString() returns
but if the underscore is removed from the URL as follows
then System.Web.HttpContext.Current.Request.QueryString.ToString() returns
Anyone know what that's about? I need the query string with the underscore in there because it's part of the Javascript library Jquery's thickbox functionality...
I'm using the System.Web.HttpContext.Current.Request.QueryString collection as part of a method but am getting some odd behaviour if any of the query string names contain an underscore. For example, if the URL is
Code:
contact.aspx?page=1&customise=true&keepThis=true&TB_iframe=true&height=400&width=650&refreshParent=true
Code:
"page=1&customise=true&keepThis=true&"
Code:
contact.aspx?page=1&customise=true&keepThis=true&TBiframe=true&height=400&width=650&refreshParent=true
Code:
"page=1&customise=true&keepThis=true&TB_iframe=true&height=400&width=650&refreshParent=true"
Anyone know what that's about? I need the query string with the underscore in there because it's part of the Javascript library Jquery's thickbox functionality...