469,330 Members | 1,280 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,330 developers. It's quick & easy.

Block "File Download" window

65
Hi,

Since I need to insert a a excel file in the HTML, I used <iframe> tag. But this tag PROMPT me the "File Download" dialog box every time the page got refreshed. Is there any ASP code to block that "File Download" box


Regards,
Nedu. M
Oct 10 '07 #1
2 1550
jhardman
3,406 Expert 2GB
Nedu,

I don't believe there is, this is actually a browser-dependent behavior and nothing ASP does will allow you to change that.

Jared
Oct 14 '07 #2
markrawlingson
346 Expert 100+
I think what you are trying to do is actually display the textual contents of the Excel document onto your HTML page in a table data cell separated fashion. Is that correct?

It sounds like what you've done is setup an IFrame with the SRC attribute pointed to the location of the Excel document in an attempt to display it on the page. Which won't work, because when the IFrame loads it will load the file, which will then prompt the user to download it because of its file type. It won't simply be interpreted by the browser and displayed.

If what I'm saying is accurate, what you'll want to do is use ASP to read the contents of the excel file and then spit out the contents onto your page in whichever fashion you like.

Let us know if this is correct, because we can assist you with that.

Sincerely,
Mark
Oct 15 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

10 posts views Thread by StevePBurgess | last post: by
24 posts views Thread by AES/newspost | last post: by
4 posts views Thread by L. Scott M. | last post: by
2 posts views Thread by barthelemy.von.haller | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Purva khokhar | last post: by
reply views Thread by haryvincent176 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.