Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 25th, 2004, 02:43 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 141
Thanks: 1
Thanked 0 Times in 0 Posts
Default Save dialog box

Hi All,

I am trying to use the "Save Dialog Box" option in ASP 3.0.

Users will able to choose a specific Drive and name the file
before saving it.

Thanks for your help.

mcinar


__________________
MCinar

Love all the creatures because of the creator.
 
Old November 25th, 2004, 02:59 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 347
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Adam H-W
Default

What's your question?

 
Old November 26th, 2004, 09:15 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 141
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hi Adam,

My question is;

Prompting with the "Download Dialog Window".
Once the "Download Button" is clicked,
the "Save as Dialog Window" should come up.
Then, you are able to decide where you want to save the file to. (Specifying "Drive", "Folder" and the "File name")

Thanks for your help,

mcinar

 
Old November 29th, 2004, 01:15 AM
Authorized User
 
Join Date: Aug 2003
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Default

<input type=button name="download" Value="Download Button" onclick="
window.location.href='path\finame.extension';"
//path is where file is lying on the server
The Operating System will automatically pop up the "Save as" Dialog box. You dont need to handle it.


Vinay



 
Old January 14th, 2005, 12:31 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Vinay,

Did you test it? I test it in my computer, it directly display the file to the window, no "Save as" dialog box appear.

Andraw

 
Old January 14th, 2005, 12:53 AM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

this should do it(the previous post was missing a closing >):

<input type=button name="download" Value="Download Button" onclick="window.location.href='http://domainName/dirName/fileName.doc';">

Wind is your friend
Matt
 
Old January 15th, 2005, 12:49 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I try again, still no popup dialog box, maybe it depend on the internet exploer's version.

Andraw






Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to edit the Places Bar of Save As dialog box akbbhatt Visual Studio 2005 0 August 27th, 2008 04:16 AM
How do I forcefully opne the save dialog box janakiraman ASP.NET 3.5 Basics 1 April 16th, 2008 07:35 AM
Save As Dialog Box prasanta2expert Access VBA 0 June 23rd, 2007 07:35 AM
Save Dialog Box Camer Servlets 9 February 23rd, 2006 09:10 AM
Can Open/save dialog box be eliminated? janice_2k4 VBScript 2 June 14th, 2004 03:53 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.