QueryString has a value but not in code behind

when calling a page with a querystring, there is clearly a value there (i.e. www.mydomain.com/mypage.aspx?pair=value

in code behind (C#) the querystring shows up empty...

protected void Page_Load(object sender, EventArgs e)
        var qs = Request.QueryString["pair"].ToString()

and the variable "qs" turns up empty...

any idea how that could happen? There are no redirects, it's all plain and simple...
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

HainKurtSr. System AnalystCommented:
try this

var qs = Request.QueryString["pair"]

put a bp, and see what you get

or try this

var qs = Request["pair"]

i dont see any reason to loose the query string param...
conrad2010Author Commented:
bp turns up empty, either way I try this... been working with asp.net ever since it came out... never seen anything like this either...
HainKurtSr. System AnalystCommented:
try creating a brand new page say test.aspx, call it with test.aspx?pair=134 and use

var qs = Request.QueryString["pair"]

see if this page works... maybe there is something on <page ....> which prevents clearing all request... or maybe you have a transfer redirect...

use fiddler to tarck...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
conrad2010Author Commented:
try creating a brand new page --> that worked...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.