Forum Moderators: open

Message Too Old, No Replies

how to get Save File Dialog Menu in the asp

how to get Save File Dialog Menu in the asp

         

sunitha_mvd

7:51 am on Nov 5, 2003 (gmt 0)

10+ Year Member



hi,
Can u pls give me the code to get Save File Dialog menu using asp

thanks
sunitha

hakre

1:11 am on Nov 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



hi,

i'm not an asp specialist, but is there a way to change the content type? maybe via header(s)? put an eye on that.

-hakre

moltar

1:15 am on Nov 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try:

<%response.ContentType="application/octet-stream"%>

aspdaddy

1:22 am on Nov 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



AFAIK theres no way to achieve this in asp code, its not in the object model.

macrost

2:17 pm on Nov 6, 2003 (gmt 0)

10+ Year Member



Well it all depends I suppose on what you want the user to save. If it's off a website or something like that, I've used within some download code, write out the binary, and that will prompt the user for the save dialog.
Mac

aspdaddy

2:51 pm on Nov 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



macrost, can you post an example pls.

mattglet

3:55 pm on Nov 6, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



i think sunitha_mvd is looking for the popup that happens when you have <input type = "file">.

-Matt

macrost

5:15 pm on Nov 6, 2003 (gmt 0)

10+ Year Member



Well if it's the save dialog menu box, I can't find my code that did it, but I found something else that *might* be of use...
h*tp://www.asptutorial.info/sscript/ContentType.asp
I'm still searching, the problem is that it was written over a year ago... :-(

Mac