G
Guest
Hello all,
i have a asp.net c# web app 2.0
I have a pdf generation with a third part sw, but i cant download pdf in a
new window, from a folder inside my web site.
The code i try to use is this:
...pdf Generation..
Response.Clear();
Response.ContentType = "application/pdf";
HttpContext.Current.Response.AddHeader("content-disposition", "attachment;
filename=test.pdf");
Response.TransmitFile(@"c:\\...path..test.pdf");
pdf tell me that cannot find the file or is corrupt. I tryed the option
inline instead of attachment but nothing changed.
Anyone have some help? Thanks a lot
i have a asp.net c# web app 2.0
I have a pdf generation with a third part sw, but i cant download pdf in a
new window, from a folder inside my web site.
The code i try to use is this:
...pdf Generation..
Response.Clear();
Response.ContentType = "application/pdf";
HttpContext.Current.Response.AddHeader("content-disposition", "attachment;
filename=test.pdf");
Response.TransmitFile(@"c:\\...path..test.pdf");
pdf tell me that cannot find the file or is corrupt. I tryed the option
inline instead of attachment but nothing changed.
Anyone have some help? Thanks a lot