Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Response.Write going to the wrong frame

Status
Not open for further replies.

tango1948

Programmer
Dec 23, 2006
111
IL
Hi I have a FrameSet of 2 frames - rightFrame and leftFrame.
I have a <base target="rightFrame"> element in the HEAD of my aspx page.
The first time the page is loaded (Not Page.IsPostBack) output from Response.Write goes to the leftFrame. On subsequent page loads output goes to the correct frame - rightFrame.
Any ideas where the problem might be?
Thanks for any help

David
 
Any ideas where the problem might be?
Yes, you are using Response.Write and this is one of the many reasons why it shouldn't be used.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
ca8msm I want to stream the output directley to the frame
from a file outside of the site. How do I do this?
I haven't had any problems using Response.Write, just in this case where the page is loaded the first time and the content appears in a frame.

David
 
ca8msm I want to stream the output directley to the frame
from a file outside of the site. How do I do this?
I'm not sure what you mean but I think you might want to look at the httpWebRequest and httpWebResponse classes if you want to get the contents of an external file.

I haven't had any problems using Response.Write, just in this case
Well this is one major problem you've had plus I'd bet that page wouldn't validate if you were using this. If you provide a link to your site, I'm sure this could be proven.


____________________________________________________________

Need help finding an answer?

Try the Search Facility or read FAQ222-2244 on how to get better results.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top