Wednesday, July 14, 2010

Set file to be downloaded, and define destination name

HttpContext.Current.Response.AddHeader("Content-Disposition", "attachment;filename=" + "tiago.pdf");

No comments:

Post a Comment