473,320 Members | 2,112 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Possible to do a File SaveAs Dialog In ASP.NET

?? Is there an easy solution to this?

Thanks,
- J
Nov 18 '05 #1
7 10091
Hi Jeffrey,

Not quite sure what you need but is it a way to manipulate files in ASP.NET?
If so, try this?

http://www.awsystems.biz/products/fi...s/default.aspx

Ken

"Jeffrey A. Voigt" <vo***********@myfloridahouse.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
?? Is there an easy solution to this?

Thanks,
- J


Nov 18 '05 #2
Why don't you explain what you want a little bit more, I could interpret this many ways.

"Jeffrey A. Voigt" <vo***********@myfloridahouse.com> wrote in message news:%2****************@TK2MSFTNGP09.phx.gbl...
?? Is there an easy solution to this?

Thanks,
- J

Nov 18 '05 #3
Hi Ken,

What we are trying to do is create a type of file check-in/out system where
the user can checkout a file from a location. When they checkout the file
we have to ask them where they want to put it... So we need a type of dialog
box that asks them to select a directory on their location machine....

Since we are doing this in ASP.NET, what type of controls are available for
this?

Thanks,
- Jeff

"Ken Cox [Microsoft MVP]" <BA************@sympatico.ca> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi Jeffrey,

Not quite sure what you need but is it a way to manipulate files in ASP.NET? If so, try this?

http://www.awsystems.biz/products/fi...s/default.aspx

Ken

"Jeffrey A. Voigt" <vo***********@myfloridahouse.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
?? Is there an easy solution to this?

Thanks,
- J

Nov 18 '05 #4
Basically, we need a control to display to the user a listing of directories
on their machine so they can select one. The result will be sent to the
server in the form.

Very similar to the HTML input type="file" control, only we need to be able
to use it to select directories instead of files.

Thanks,
- J

"Raterus" <ra*****@spam.org> wrote in message
news:Ob**************@tk2msftngp13.phx.gbl...
Why don't you explain what you want a little bit more, I could interpret
this many ways.

"Jeffrey A. Voigt" <vo***********@myfloridahouse.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
?? Is there an easy solution to this?

Thanks,
- J

Nov 18 '05 #5
The solution is to make the user "download" the file. This way the
browser will ask the user where to put the file somewhere on his disk -
save as dialog. The simplest yay to do this is to provide a link to file
when the user does a check-out. When the user click the link the browser
will download the file. The problem with this approach is that if the
browser "knows" the file type - like for pdf for example - it will
directly open the file in the window instead of showing a save as
dialog. This can be avoided by writing the file binary in the response
and to set some custom http headers. See the following link for more
information:
http://support.microsoft.com/default...NoWebContent=1

Hope this helps

Jeffrey A. Voigt wrote:
Hi Ken,

What we are trying to do is create a type of file check-in/out system where
the user can checkout a file from a location. When they checkout the file
we have to ask them where they want to put it... So we need a type of dialog
box that asks them to select a directory on their location machine....

Since we are doing this in ASP.NET, what type of controls are available for
this?


____________________
www.bloomfield.as.ro
Nov 18 '05 #6
Yeah, I figured that was the way to go... Got it working with that already..

Thanks!
- J

"bloomfield" <bl********@as.ro> wrote in message
news:ui**************@TK2MSFTNGP10.phx.gbl...
The solution is to make the user "download" the file. This way the
browser will ask the user where to put the file somewhere on his disk -
save as dialog. The simplest yay to do this is to provide a link to file
when the user does a check-out. When the user click the link the browser
will download the file. The problem with this approach is that if the
browser "knows" the file type - like for pdf for example - it will
directly open the file in the window instead of showing a save as
dialog. This can be avoided by writing the file binary in the response
and to set some custom http headers. See the following link for more
information:
http://support.microsoft.com/default...NoWebContent=1
Hope this helps

Jeffrey A. Voigt wrote:
Hi Ken,

What we are trying to do is create a type of file check-in/out system where the user can checkout a file from a location. When they checkout the file we have to ask them where they want to put it... So we need a type of dialog box that asks them to select a directory on their location machine....

Since we are doing this in ASP.NET, what type of controls are available for this?


____________________
www.bloomfield.as.ro

Nov 18 '05 #7
Yeah, I figured that was the way to go... Got it working with that already..

Thanks!
- J

"bloomfield" <bl********@as.ro> wrote in message
news:ui**************@TK2MSFTNGP10.phx.gbl...
The solution is to make the user "download" the file. This way the
browser will ask the user where to put the file somewhere on his disk -
save as dialog. The simplest yay to do this is to provide a link to file
when the user does a check-out. When the user click the link the browser
will download the file. The problem with this approach is that if the
browser "knows" the file type - like for pdf for example - it will
directly open the file in the window instead of showing a save as
dialog. This can be avoided by writing the file binary in the response
and to set some custom http headers. See the following link for more
information:
http://support.microsoft.com/default...NoWebContent=1
Hope this helps

Jeffrey A. Voigt wrote:
Hi Ken,

What we are trying to do is create a type of file check-in/out system where the user can checkout a file from a location. When they checkout the file we have to ask them where they want to put it... So we need a type of dialog box that asks them to select a directory on their location machine....

Since we are doing this in ASP.NET, what type of controls are available for this?


____________________
www.bloomfield.as.ro

Nov 18 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: scrimp | last post by:
Ive been using PAMIE 1.4 to try to automate web page processes. The one thing I cannot do with it is upload files and download files. With uploading files, the file input box does not allow PAMIE...
4
by: JM | last post by:
Hi! I've worked hard to get my data into Excel from a bunch of text files. I've opened Excel and dumped the data in. I want to save the workbook/spreadsheet but have not set a file name yet in...
2
by: Alvo von Cossel I | last post by:
hi, i have a textbox in a form. when you press a Save button, a savefiledialog appears. creating ther file works but everytime you click save, the dialog appears. how do i make the dialog appear...
2
by: Sleepy | last post by:
I am wanting to allow a client to download a file from a web server and save it on their local PC. The only way that I have found to do this is to use HTTP headers. I am using the code shown below...
2
by: psanjay | last post by:
Hi, Am unable to open javascript SaveAs dialog box in Firefox browser. Following is the script, <a href="javascript:void(0);" onclick="document.execCommand('SaveAs',false,'*.xyz');">Save this...
2
by: DPK | last post by:
Hello friends!!! I made a prog. to make the excel. It is running well but when it saves the excel file it open the save dialog box to save the file becasue I am using SAVE function here instead of...
7
by: chakriroxx | last post by:
hi all, i have a question related to document.execCommand(saveAs). i need to know the path of the file selected by the user in the saveAs dialog box. i need to make some changes to the saved...
2
by: guilherme21922 | last post by:
I want to on a click button save a file: The file is in D:\FilesExport\Custumers.txt. I tried to do this but nothinh happens! ...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.