Click here to Skip to main content
15,919,341 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am converting content to the doc file.now i have to save that file in a existing Folder (Not Download),so I have to create save Dialog Box and have to save that file to that folder.Plz give me solution
Posted
Comments
bbirajdar 2-Sep-12 8:00am    
Save where ? On client or on server ?
bbirajdar 2-Sep-12 8:01am    
Your question does not provide any information to understand the problem. Your communication is not clear and is a waste of your time and ours

1 solution

In asp.net we haven't got SaveFileDialog because you'll have security issues.

However, you can use SaveFileDialog from System.Windows.Forms but all your clients must have de .NET Framework installed on their machines. So, also this isn't recommend.

You can make a file download, sending a file through the Response object and window's download will be shown.

Hey, you can see this: http://www.west-wind.com/weblog/posts/2007/May/21/Downloading-a-File-with-a-Save-As-Dialog-in-ASPNET[^]

And this solution may helps you: how to open save as dialog box in asp.net[^]

Hope it helps.
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900