Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to download an image from a browser
Message
From
28/08/2007 15:43:56
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
Miscellaneous
Thread ID:
01250650
Message ID:
01250995
Views:
10
Thanks, this works perfect!



>This should help:
>
>http://west-wind.com/weblog/posts/76293.aspx
>
>You can hook this code to a button or postback link and use a filename the user provides.
>
>You won't be able to do it with a right click though - that happens on teh client, you'll need to have a postback and link that fires off through the server.
>
>+++ Rick ---
>
>>Using VS05 and C#. I have a webform that displays an image(jpg, gif). I want the user to be able to download the image to their PC. I know that the user can right click the image and choose 'Save Image as' etc..., but is there a way to have a "Download" button that initializes the download process and asks the user where they want to save the image.
>>
>>Thanks,
>>
>>Jerry
Previous
Reply
Map
View

Click here to load this message in the networking platform