By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,559 Members | 1,154 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,559 IT Pros & Developers. It's quick & easy.

Possible to do a File SaveAs Dialog In ASP.NET

P: n/a
?? Is there an easy solution to this?

Thanks,
- J
Nov 18 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.