Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to open browser's Open/Save dialog?
Message
De
22/08/2006 11:31:19
 
 
À
22/08/2006 09:41:56
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01147557
Message ID:
01147607
Vues:
12
This message has been marked as the solution to the initial question of the thread.
>What do I have to change to get the dialog? I thought the "attachment;" part was enough.

Case solved. Turns out it's fixed by simply changing these two lines:
Response.ContentType = "application/download";
Response.AddHeader("Content-Disposition", "attachment;filename=" + sFileName);


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform