473,506 Members | 16,970 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

iframe and response.write cant play well together?

greetings,

i'm using an iframe
<iframe id="iFrame" runat="server" src="SC_Ext_Rpt.aspx" width="775px"
height="900px" frameborder="no">
</iframe>

and in my file SC_Ext_Rpt.aspx, if i were to response.write from that file
in the code behing, all my content would be at the header of the calling page
or the main page. but if i were to put text in the html page of the file
SC_Ext_Rpt.aspx, i works fine.

any comments on this?
Nov 18 '05 #1
1 3500
could have something to do with how asp.net is rendered. i think a similar
problem was posted a day or two back. You might want to scan for that one.

try adding a label control to the page and from codebehind assign the text
to label instead of doing a response.write

--

Regards,

Hermit Dave
(http://hdave.blogspot.com)
"Asha" <As**@discussions.microsoft.com> wrote in message
news:C7**********************************@microsof t.com...
greetings,

i'm using an iframe
<iframe id="iFrame" runat="server" src="SC_Ext_Rpt.aspx" width="775px"
height="900px" frameborder="no">
</iframe>

and in my file SC_Ext_Rpt.aspx, if i were to response.write from that file
in the code behing, all my content would be at the header of the calling page or the main page. but if i were to put text in the html page of the file
SC_Ext_Rpt.aspx, i works fine.

any comments on this?

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
449
by: jim.frantzen | last post by:
You have an active XMLHTTP request on the main page (localhost/App1/index.aspx) The XMLHTTP request takes about 60 seconds to receive a response back from localhost/App1/getxml.aspx. You have an...
3
3930
by: Stevie_mac | last post by:
It might be me but... I dont seem to get a Page_Load event when a opening an ASPX in an iFrame. I do geta Page_Load event when an item on the ASPX (inside the iFrame) is clicked but then...
3
9546
by: Timo | last post by:
In javascript code on MyPage.aspx, I set a hidden IFRAME's source url: myframe.location.href = 'someotherpage.aspx'; If the session has timed out, preventing someotherpage.aspx from being...
2
1202
by: Daniel | last post by:
Hi all, I have a web page name main.aspx inside the web page, i use IFRAME to display other *.aspx. when the user click on the page in the IFRAME, and try to load the second.aspx from...
1
19226
by: zzzbla | last post by:
Hello, I have a project in which I'm trying to embed one site, that uses session stored variables, inside an IFRAME in another site (which for that matter doesn't even use sessions). Problem...
0
1707
by: spolsky | last post by:
hi, i have the following pages. when form submitted with the field1 value is "ok" then the iframe must be loaded with the text "Page loaded...". This works fine with IE 6 and FireFox(1.5) but...
1
7965
by: spolsky | last post by:
hi, i have the following pages. when form submitted with the field1 value is "ok" then the iframe must be loaded with the text "Page loaded...". This works fine with IE 6 and FireFox(1.5) but...
2
4016
by: Robert Bravery | last post by:
HI All, I have an Ifame on my page. I have retrieved a page response from a server like: string response = Encoding.UTF8.GetString(responseBytes); HtmlControl frame1 =...
0
7103
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7307
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7370
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7478
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5035
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4701
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1532
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
755
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
409
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.