Ask a Question related to ASP, Design and Development.
-
eddie wang #1
csv file imbed into IE browser when click the csv file link
I have the following code. When click the link of myfile.csv, the file
imbed into IE browser. How can I have a window popup to ask if I want
to save or open the file? Thanks.
<td align="center">Please click <a href="myfile.csv">here</a> to view
your Excel file.</td>
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
eddie wang Guest
-
In web browser to view pdf, click link and it opens in same window
Customers download pdf from a server into a web browser with multiply links in pdf. When you click the links I want it open in a new window so the... -
Linked file uploaded - link still points to local file
Hi, We are faced with a strange problem in one of your Contribute sites: 2 users reported problems when linking and uploading files: user... -
How do I Link a .Dir (shockwave) file into a html file ?
Hey been having troubles with trying to link *.dir files into html ..... I am fine with linking swf files... but it works different.... does anyone... -
Help needed with ASP form browse for file, create link to file and insert in access database
I have a form where a user enters their name, date etc. i also want them to be able to click on a browse button and select a file which will then... -
on click of a link button should first save the data and then open a new browser
Hi, A page consists of a link button. Clicking this link button should first save data in the database. If the data is saved correctly then it... -
Ray at #2
Re: csv file imbed into IE browser when click the csv file link
[url]http://www.aspfaq.com/show.asp?id=2161[/url]
Ray at work
"eddie wang" <ewang@kmg.com> wrote in message
news:OXsIuPDwDHA.2484@TK2MSFTNGP09.phx.gbl...> I have the following code. When click the link of myfile.csv, the file
> imbed into IE browser. How can I have a window popup to ask if I want
> to save or open the file? Thanks.
>
> <td align="center">Please click <a href="myfile.csv">here</a> to view
> your Excel file.</td>
>
> *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
> Don't just participate in USENET...get rewarded for it!
Ray at Guest
-
eddie wang #3
Re: csv file imbed into IE browser when click the csv file link
Yes, the code in [url]http://www.aspfaq.com/show.asp?id=2161[/url] works
successfully. But, how can I:
1. Have Open button disabled in the dialog box?
2. Default the filename(fn) when user clicks Save?
Thanks!!!
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
eddie wang Guest
-
Ray at #4
Re: csv file imbed into IE browser when click the csv file link
"eddie wang" <ewang@kmg.com> wrote in message
news:e05eWe2wDHA.2136@TK2MSFTNGP10.phx.gbl...If it's possible, you cannot do it with ASP, as it would be a client-side> Yes, the code in [url]http://www.aspfaq.com/show.asp?id=2161[/url] works
> successfully. But, how can I:
> 1. Have Open button disabled in the dialog box?
setting.
Did you see this line?> 2. Default the filename(fn) when user clicks Save?
Response.AddHeader "content-disposition","attachment; filename=" & fn
Just replace "fn" with whatever name you'd like. It just so happens that in
this example, the actual file name on the server is being used in the header
as well, but it could be:
Response.AddHeader "content-disposition","attachment; filename=virus.exe"
Ray at Guest
-
eddie wang #5
Re: csv file imbed into IE browser when click the csv file link
Okay the following works very well.
Response.AddHeader "content-disposition","attachment; filename=" &
Now, if I click Open, it pops up another dialog box asking me if I need
to OPEN/Save and I have to click it again to open. Why? Thanks.
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
eddie wang Guest
-
Ray at #6
Re: csv file imbed into IE browser when click the csv file link
"eddie wang" <ewang@kmg.com> wrote in message
news:OajES59wDHA.1272@TK2MSFTNGP12.phx.gbl...Where's the filename?>
> Okay the following works very well.
> Response.AddHeader "content-disposition","attachment; filename=" &
>
I don't know. It sounds like a client-side issue.>
> Now, if I click Open, it pops up another dialog box asking me if I need
> to OPEN/Save and I have to click it again to open. Why? Thanks.
Ray at work
Ray at Guest



Reply With Quote

