Chorme downloading pdf as html file
i am converting my report in PDF using following code<code>
BinaryReader stream = new BinaryReader(((ReportDocument)sessionManager.ReportDocument).ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat));
Response.ClearContent();
Response.ClearHeaders();
Response.ContentType = "application/pdf";
Response.AddHeader("content-disposition", "inline; filename=" + "Report.pdf");
Response.BinaryWrite(stream.ReadBytes(Convert.ToInt32(stream.BaseStream.Length)));
Response.Flush();
Response.Close();
</code>
it working well in IE and firefox but in chrome when i try to download it save as html document.