Created
August 13, 2013 18:37
-
-
Save leandrocustodio/6224218 to your computer and use it in GitHub Desktop.
Header to Force Download witch C#
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Response.AppendHeader("Content-Type", "application/force-download;"); | |
Response.AppendHeader("Content-Disposition", "attachment; filename="+ FileName); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment