NetTalk Central

Author Topic: Content Type  (Read 4546 times)

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Content Type
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Content Type
« Reply #1 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

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Content Type
« Reply #2 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.

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Content Type
« Reply #3 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.

rjolda

  • Sr. Member
  • ****
  • Posts: 329
    • View Profile
    • Email
Re: Content Type
« Reply #4 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

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Content Type
« Reply #5 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