473,406 Members | 2,710 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Problem ASPnet IFRAME

hello,

i use aspnet 2.0 and iframe.

i have a problem with a debug of a page inner in IFRAME. (not it works)

this is a link of a project for example.
http://www.megaupload.com/?d=GIFGX5KS

Thank you
Jun 27 '08 #1
4 1973
On Jun 4, 12:41 pm, "John" <a...@a.itwrote:
hello,

i use aspnet 2.0 and iframe.

i have a problem with a debug of a page inner in IFRAME. (not it works)

this is a link of a project for example.http://www.megaupload.com/?d=GIFGX5KS

Thank you
Hi

can't access the mega upload file... because of max connection
exceed...
can i be a little more descriptive about the problem

Best of luck

Munna
www.munna.shatkotha.com
www.munna.shatkotha.com/blog
www.shatkotha.com
Jun 27 '08 #2
On Jun 4, 2:11 pm, "John" <a...@a.itwrote:
Other link:

http://www.sangiuseppepozzuoli.it//D...testiframe.zip

thank you
Hi John

I checkout the website project you referred... pretty interesting...
Running default2.aspx page is redirected to defaul.aspx and i was
unable to debug...
when i turn of the onload code of default2.aspx the page did not
redirected to default...
and i was able to debug... very interesting...

so obviously there is some thing wrong with javascript code...

then in remove the part

//if (parent.document.getElementById('main_div')) {
// parent.document.getElementById('main_div').innerHT ML =
document.getElementById('inner_frame').innerHTML;
// }

javascript code and make your iframe visible and debug is okay...

and this is obviously that copy innterHTML from iframe to a div work
well in client side
but you don't expect it to persist in dom and default.aspx will handle
that... will you?

Best of luck

Munna
www.munna.shatkotha.com
www.munna.shatkotha.com/blog
www.shatkotha.com
Jun 27 '08 #4
You basically grab inner content of IFRAME (default2.aspx) and dump it on
your main page default.aspx.
So when you click the button the default.aspx gets submitted. Obviously no
code on default2.aspx will work then.

George

"John" <a@a.itwrote in message
news:OT**************@TK2MSFTNGP02.phx.gbl...
Other link:

http://www.sangiuseppepozzuoli.it//D...testiframe.zip

thank you

Jun 27 '08 #5

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

Similar topics

2
by: June Moore | last post by:
I have a page with an IFRAME. When I tried to dynamically set the location.href of the IFRAME to a URL address, the Internet Explorer browser loads the page onto the IFRAME correctly but a very...
4
by: khothikhe | last post by:
can some one help me here coz this is really killing me! the problem is, i have this javascript code in my aspx page that i want it to work on almost all browsers, especially opera and safari : ...
1
by: khothikhe | last post by:
Can someone help me here because this is really killing me! the problem is, i have this javascript code in my aspx page that i want it to work on almost all browsers, especially opera and safari...
5
by: Peroli | last post by:
Hi all, I have an iframe as stated below. When i initiate the function "open_frm()" everything is working as i expected. When the document is loaded, i click on a link in the iframe, with posts...
0
by: vinoth | last post by:
Hi, I have a problem in iframe. Below code works well. <html> <body> <iframe src="http://google.com" width="50%" scrolling=no></iframe> </body> </html>
0
by: Aaron Guo | last post by:
i set a iframe in b.aspx,and if set it as <iframe id=”frm1” src=”xxxxxxxxxxxxxx.aspx?para1=<%=var1%>”></iframe> ,on some client pc the iframe can not be rendered to ie.and the result of...
1
by: white.fox.ir | last post by:
hello freinds.... i have and Iframe and i attach an event to that ...for Enter Key Press when EnterKey is Press all iframe.document.body.innerHTML send to a function and set innerHTML = "" . but...
0
by: bmohanpr | last post by:
HI, I am using Iframes in my project .There are two jsps one is A.jsp another one is B.jsp In A.jsp I used iFrame to call B.jsp.The code will be as follows A.jsp <html:html> <head> <script>...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...

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.