Solved

Linking to Excel File

Posted on 2004-03-24
4
174 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 35

Accepted Solution

by:
mrichmon earned 125 total points
ID: 10668718
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
ID: 10675527
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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

615 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