Hi.. I want to open a file dialog box in user control. i used "using System.Windows.Forms;" but still i can't access SaveFileDialog class. Can anybody tell me how to do this? Thanx.
+1
A:
You cannot use SaveFileDialog in asp.net (if I look at the tags of the question).
It seems you want to let the uset click on some button to download a file and prompt the user to save it.
If that is a correct assumption, see the accepted answer at http://stackoverflow.com/questions/338616/with-just-a-plain-html-and-js-file-how-can-i-force-a-link-to-an-mp3-to-download
shahkalpesh
2008-12-06 05:01:55
A:
<input type=file>
or
<asp:FileUpLoad id="FileUpLoad1" runat="server" />
might be what you have in mind. It will let the user upload a file as part of the POST.
Greg Ogle
2008-12-06 05:09:17
A:
Thanks for your reply. I found solution for this and its working. I used HTTPHandler to download file on cliet side.
Devashri
2008-12-08 08:23:30