Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to open browser's Open/Save dialog?
Message
From
22/08/2006 11:31:19
 
 
To
22/08/2006 09:41:56
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01147557
Message ID:
01147607
Views:
13
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
Previous
Reply
Map
View

Click here to load this message in the networking platform