473,394 Members | 1,778 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,394 software developers and data experts.

Keeping iFrame Events In One Browser Window?

hi.

does anybody know how to control the target=some.aspx
attribute in an iframe so a new page doesnt open? I am trying to
upload files via hidden iframe. if i use the target=some.aspx
attribute the files make it to the server no problem, but a new page
opens up (i want all this to happen in the same browser window). If i
take out
the target=some.aspx attribute, then processing happens in the
same browser window but the httpfilecollection in the vb.net server
code has a count of zero - the querystring can't be read.

how do i send the querystring to the server but keep the work-flow
in one browser window?

i thank you.

Feb 23 '07 #1
1 1554
On Feb 23, 8:58 am, "pbd22" <dush...@gmail.comwrote:
hi.

does anybody know how to control the target=some.aspx
attribute in an iframe so a new page doesnt open? I am trying to
upload files via hidden iframe. if i use the target=some.aspx
attribute the files make it to the server no problem, but a new page
opens up (i want all this to happen in the same browser window). If i
take out
the target=some.aspx attribute, then processing happens in the
same browser window but the httpfilecollection in the vb.net server
code has a count of zero - the querystring can't be read.

how do i send the querystring to the server but keep the work-flow
in one browser window?

i thank you.

Sorry, I meant target="IFrameName", not "some.aspx". Here is what my
form
tag looks like in case you are wondering:

<form name="uploadForm" method="post" target="RSIFrame"
enctype="multipart/form-data" action="progress.aspx"
onsubmit=callToServer(this.name);>
<input
id="my_file_element" type="file" name="file_1" /><input type='submit'
value='Submit Query' />
</form>

In the above case, the presence of the target attribute opens a new
browser
window which is what i don't want. If i take out the target attribute,
however,
the querystring does not successfully pass to the server. help
appreciated.

Feb 23 '07 #2

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

Similar topics

6
by: Wendi | last post by:
If i have an iframe from within an HMTL document: Iframe.htm: ------------------------------ <html> <head> <title>Iframe.htm</title> </head> <body> <iframe src="sample.htm"></iframe>
1
by: Martin | last post by:
There seems to be some strange behaviour when trying to get the scrollHeight and scrollTop of an iframe in IE6. I have tried several ways of getting these values when the iframe is written into...
12
by: marcadonis | last post by:
Hi! Does anybody know of a way that I can keep a reference to an object that I can then reuse? I tried various approaches using navigator, but these all fail in an iframe due to premission...
0
by: msoliver | last post by:
Issue: I want resize handlers within an iframe to be called when the main window changes size. Alternatively, I'd like to know how to propagate a resize event handled by the main window to iframe...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
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
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...

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.