2

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? Thanks.

2
  • Is that what you are trying to do? Post your reply to this comment if you have achieved what you wanted. Commented Dec 6, 2008 at 5:06
  • Sory I am replying late. But realy it is what i wannted to do. Thanks for ur help. Commented Mar 18, 2009 at 12:57

3 Answers 3

2

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 with just a plain html and js file, how can i force a link to an mp3 to download instead of just play?

Sign up to request clarification or add additional context in comments.

Comments

0
<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.

Comments

0

Thanks for your reply. I found solution for this and its working. I used HTTPHandler to download file on cliet side.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.