Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to download an image from a browser
Message
De
28/08/2007 15:43:56
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
Divers
Thread ID:
01250650
Message ID:
01250995
Vues:
9
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform