I have a button that calls a function in the code behind which simply updates the text inside a label. I have a URL that looks like this:
http://my-url.com?lang=en
If I change the query string, to say lang=fr
then do not submit the URL (i.e. press enter) but instead press the button, how do I get this new value? Request.QueryString["lang"];
will return the value of the lasted submitted URL i.e. will return lang=en
and not lang=fr
Thanks.