Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 25th, 2004, 02:43 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , NY, USA.
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.
Reply With Quote
  #2 (permalink)  
Old November 25th, 2004, 02:59 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , .
Posts: 347
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Adam H-W
Default

What's your question?

Reply With Quote
  #3 (permalink)  
Old November 26th, 2004, 09:15 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , NY, USA.
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

Reply With Quote
  #4 (permalink)  
Old November 29th, 2004, 01:15 AM
Authorized User
 
Join Date: Aug 2003
Location: , , India.
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



Reply With Quote
  #5 (permalink)  
Old January 14th, 2005, 12:31 AM
Friend of Wrox
 
Join Date: Jan 2005
Location: Houston, TX, USA.
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

Reply With Quote
  #6 (permalink)  
Old January 14th, 2005, 12:53 AM
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
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
Reply With Quote
  #7 (permalink)  
Old January 15th, 2005, 12:49 AM
Friend of Wrox
 
Join Date: Jan 2005
Location: Houston, TX, USA.
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

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 10:21 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.