> >... read the PDF content here > >Response.Clear() >Response.ContentType = "application/pdf" >Response.AddHeader("Content-Disposition", "attachment;filename=mygeneratedpdf.pdf") >Response.BinaryWrite(bytarrayMypdfcontent) >>
> >... read the PDF content here > >Response.Clear() >Response.ContentType = "whateverunknowncontenttype" >Response.AddHeader("Content-Disposition", "attachment;filename=mygeneratedpdf.pdf") >Response.BinaryWrite(bytarrayMypdfcontent) >>