Hi All,
I have an issue related to reports. I am generating report in pdf, and the pdf file should be directly downloaded to client machine without showing him(without dialog box). how this should be done, Please help me.
Thanks In Advance
Regards
Channabasava.

Sibeesh VenuRank #27 · 42.9K reputationPosted Nov 9, 2014, 11:32 PM EST
protected void Button1_Click(object sender, EventArgs e)
{
Response.ContentType = "application/pdf";
Response.Clear();
Response.TransmitFile("UML.pdf");
Response.End();
}
Read more here: https://social.msdn.microsoft.com/Forums/en-US/c30236d0-a6d6-4d95-8901-753149ccf3f1/disable-file-download-prompt-do-you-want-to-open-or-save-this-file?forum=iewebdevelopment