Hi richard,
Thank you for using MSDN Newsgroup! My name is Steven, and I'll be
assisting you on this issue.
From your description, you are using an iframe to contain a certain ASP.NET
web page. However, when you run the page and its container page, you found
that the page loaded correctly the first time, but it will be loaded in
another separate new browser window after posted back(fired some post back
in the page).
If there is anything I misunderstood, please feel free to let me know.
Based on my experience, the problem is probably caused by something
incorrect with the <iframe> element or
the certain page which is located in the iframe. Would you please confirm
the following items:
1. Does this problem occurs with the certain page(in the iframe), or also
occurs if replace the page with other pages? You may have a try build a
simple page and set it as the "src" of the iframe and see whether the
problem remains. Thus, we could assure whether the problem is due to the
page or the <iframe> or its container page.
2. Also, since open a page in a new separate window programmaticall y is
generally implemented using client side script such as javascript. You may
have a check on the certain page or its container page to see whether
there're some particular script blocks which may cause such behavior.
If you still feel puzzled with the problem, would you try creating a two
simple pages( just simpe enough to repro the issue) and provide me the page
code? Then, I'll try to do some further research on my side.
Please try the preceding suggestions. If you have any questions or have any
new findings, please feel free to let me know.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)