NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: kevin plummer on June 24, 2010, 04:57:12 PM

Title: Content Type
Post by: kevin plummer on June 24, 2010, 04:57:12 PM
Is is standard behavior in Firefox to ask the user to open an excel file?

I'm setting the Content type via the GetContentType function.

Cheers,

Kevin
Title: Re: Content Type
Post by: Bruce on June 25, 2010, 02:35:33 AM
Hi Kevin,

there are different approaches to take depending on what you want to happen.
So;
a) does the user have Excel installed?
b) what effect are you wanting to happen?

cheers
Bruce
Title: Re: Content Type
Post by: kevin plummer on June 26, 2010, 02:36:40 AM

a) does the user have Excel installed?

> Yes

b) what effect are you wanting to happen?

> they (user) wanted it to open automatically without having to nominate Excel every time.
Title: Re: Content Type
Post by: kevin plummer on July 12, 2010, 07:18:12 PM
Further:

If I open the file via a hyperlink then it opens in the browser without asking.

If I use the server document technique then it asks to open the file and then opens outside the browser.
Title: Re: Content Type
Post by: rjolda on July 14, 2010, 11:05:02 AM
Kevin,
IE opens XLS automagically.
Firefox does not.   I download an XLS from a web site and I want it saved to disk because I open it with a clarion program.  I have MS Office installed.  So, I use Firefox to download it and save it to disk. 
I don't know if there is a setting for Firefox to open it with Excel.
Ron
Title: Re: Content Type
Post by: kevin plummer on July 14, 2010, 05:46:00 PM
Thanks Ron. I try to avoid using IE at all costs!

I must not have something setup in the serve document procedure correctly as they open automatically in the browser from a hyperlink in FF

Cheers,

Kev