iFrame ContentType

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

i am trying to create a hidden iframe in my form that passes
some files for upload to the server. kind of a tricky way to
provide the user an "ajax-style" feel during upload.

the problem is that the files never make it to the server - the
.net httpfilecollection is always zero. after doing some
close inspection using the venkman javascript debugger, i
have discovered that the iframe contenttype is text/html.
as in uderstand it, uploads always have to be multipart/form-data.


how do i engineer my upload form so the iframe is the correct

i have done the obvious which is sent the enctype="multipart/form-
in the form tag that encases the input files (type=file) for uplaod.

any ideas? i would be happy to provide code or a venkman summary
if you ask - just didnt want to overdo it. :)


Re: iFrame ContentType

Quoted text here. Click to load it

after some further debugging and guesswork, i am starting to think
that this program fails at the point when the querystring is being
to the iframe object:


has anybody out there had any problems with using location.replace()
as a way of passing the upload querystring through the iframe to the

Site Timeline