Link to home
Start Free TrialLog in
Avatar of bradie
bradie

asked on

Linking to Excel File

Is there any way to stop the download dialog box opening when a link to an excel file is clicked.
ASKER CERTIFIED SOLUTION
Avatar of mrichmon
mrichmon

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If ur using CFCONTENT/CFHEADER - then u ahve the option of opening up -> inline or as attachment.
1. inline - it wld open he file directly in the browser
    [if the user has the program available (on his PC) to open the particular type of file]
2. attachment - it wld open the dialog box as ur getting now.

<CFHEADER NAME="Content-disposition" VALUE="attachment;filename=anand.xls">
<CFCONTENT TYPE="application/msexcel" FILE="C:\ProjName\anand.xls" DELETEFILE="yes">

If ur just giving the URL of the excel file -> then mrichmon has the answere for u !