M
Marius Horak
My code:
string pdf = "0000000018334938.PDF";
Page.Response.ClearContent();
Page.Response.Clear();
Page.Response.ContentType = "application/pdf";
Page.Response.AddHeader("Content-Disposition", "inline; filename=" + pdf);
Page.Response.WriteFile(pdf);
Page.Response.End();
either blank page or file corrupted message
Can open by selecting the file, right click and open with Internet Explorer
(v6).
What's wrong?
Thanks
MH
string pdf = "0000000018334938.PDF";
Page.Response.ClearContent();
Page.Response.Clear();
Page.Response.ContentType = "application/pdf";
Page.Response.AddHeader("Content-Disposition", "inline; filename=" + pdf);
Page.Response.WriteFile(pdf);
Page.Response.End();
either blank page or file corrupted message
Can open by selecting the file, right click and open with Internet Explorer
(v6).
What's wrong?
Thanks
MH