I do not think you can. There are two things to consider with this.
1) This would be a security vulnerability if a website could hide dialog
boxes. Think of how easy it would be to install a Trojan horse without the
user knowing.
2) Only installed programs that support rendering in a browser can be
rendered automatically. This is a setting on the local machine.
Now, if you want to force the dialog to appear, you might want to change the
content-type for the file (that IIS sends to the browser) to something that
will always be prompted such as application/octal-stream.
"Patrick Olurotimi Ige" <ig*@iprimus.com.au> wrote in message
news:es*************@TK2MSFTNGP12.phx.gbl...
When i have a link like :-
<a href="sample.xls">download</a>
And i want to download ..by clicking the download link it POPS(saying
would u like to save or open the file!!) up a dialog box ..
But when i have for example files with extension that can render on the
browser it just open up on the browser!..
Is it possible to control this?
I would like to have some files to POP up a box!!
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!