Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I see on the articles link to download some codes. When I click on the link, a dialog of download is opened.

Do you have any code that do it? I search after something like this, that asks where to save or open it in the client computer...
Posted
Updated 2-Feb-10 8:39am

that dialog box is not code generated. It is displayed by the browser.
 
Share this answer
 
ok.
i understand.
so how can i use it.
 
Share this answer
 
The obvious way is by having a link to your file. You can also set the MIME type and writing your file with Response.WriteFile or similar.
 
Share this answer
 

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