IE Settings

B

Billy Jacobs

I have a web page which outputs as a word document using
the following:
Response.ContentType = "application/msword"
'''''''' Remove the charset from the Content-Type header.
Response.Charset = ""

Whenever I go the page on my computer it prompts me if I
want to save or open the file. This is the desired
behavior. There is a checkbox which I can uncheck so that
I don't receive this prompt.

On some of my clients machines they do not get this
prompt. I am assuming the checkbox setting is set to not
prompt.

How do I set IE to prompt to save the word document to a
file instead of just opening it inside of IE?

Thanks,

Billy Jacobs
 
P

Parker Zhang [MSFT]

Hi Billy,

Please try the following steps:

1. Open the Windows Explorer.
2. Choose Folder Options from the View menu.
3. In the File Types tab, select the DOC file type in the list, click
Advanced button, and then click to check "Confirm open after download".
4. Click ok to save the change.

If you have any Qs, please reply to this post.
 
D

Dmitriy Lapshin [C# / .NET MVP]

Hi Billy,

You can probably play with the "Content-Disposition" header, but I'm not
sure this can help if the user have decided to always save or open this type
of file. Unfortunately, this is kind of settings that, in general, cannot be
influenced by the server side and the best thing to do is probably to make
no assumptions on such settings.

P.S. And the hardest thing is to persuade the client in it :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top