Reading QueryString...WHEN?

D

darrel

This is an odd question I'll try to word as best as I can.

I have an ASPX page. Two of the userControls check the queryString and
response.write a value to me for testing.

One userControl is placed in the HEAD of the ASPX page.

THe other userControl is placed in the BODY of the ASPX page.

Both userControls are using a Sub Page_Load to grab the query string and
pull out a value.

The problem:

The HEAD usercontrol is always correct, matching the QS to the value it
writes out.

The BODY usercontrol is always ONE PAGE behind, writing out the QS from the
previous page load.

What's going on? Shouldn't they both, OnPageLoad, be checking the SAME QS
and getting the SAME value?

-Darrel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top