Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Reading QueryString...WHEN?

Thread Tools

Reading QueryString...WHEN?

Posts: n/a
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?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading a file and resuming reading. Karim Ali Python 2 05-25-2007 02:04 PM
UnauthorizedAccessException when reading XML files (no problem when reading other file-types) ASP .Net 0 09-15-2006 02:08 PM
DVD ROM not reading DVDs but reading CDs Computer Information 0 05-22-2006 10:37 AM
ASP.NET Reading problem (reading .xls) Wael Soliman ASP .Net 2 01-03-2005 05:33 PM
reading the DB vs. reading a text file...performance preference? Darrel ASP .Net 3 11-11-2004 02:27 PM