Solved

Linking to Excel File

Posted on 2004-03-24
4
170 Views
Last Modified: 2013-12-24
Is there any way to stop the download dialog box opening when a link to an excel file is clicked.
0
Comment
Question by:bradie
4 Comments
 
LVL 35

Accepted Solution

by:
mrichmon earned 125 total points
Comment Utility
No because this is browser dependent.  If the browser knows what to do it may open the file such as Internet Explorer.  But in general why would you want to create a link to an excel file and not have it available for download?  Not all browsers will be able to display the file in the browser so those people need to download the file to be able to view it.
0
 
LVL 17

Expert Comment

by:anandkp
Comment Utility
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 !
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now