Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 25, 2013 12:29 PM by asyed4u
Participant
1307 Points
268 Posts
Jan 10, 2013 01:30 AM|LINK
Hi All,
QUESTION :: how to show the (itext library) combined pdf report in google chrome browser ??
Mar 25, 2013 12:29 PM|LINK
-----------:: BEFORE :: ---------------------------
Response.Buffer = true; Response.ContentType = "application/pdf"; Response.WriteFile(_reportfilepath);
:------------- :: Now :: ----------------------------------------
System.Net.WebClient _webclient = new System.Net.WebClient(); Byte[] _buffer = _webclient.DownloadData(_reportfilepath); Response.Buffer = true; Response.ContentType = "application/pdf"; Response.AddHeader("content-length", _buffer.Length.ToString()); Response.BinaryWrite(_buffer);
asyed4u
Participant
1307 Points
268 Posts
PDF report not shown in google chrome
Jan 10, 2013 01:30 AM|LINK
Hi All,
QUESTION :: how to show the (itext library) combined pdf report in google chrome browser ??
asyed4u
Participant
1307 Points
268 Posts
Re: PDF report not shown in google chrome
Mar 25, 2013 12:29 PM|LINK
-----------:: BEFORE :: ---------------------------
Response.Buffer = true;
Response.ContentType = "application/pdf";
Response.WriteFile(_reportfilepath);
:------------- :: Now :: ----------------------------------------
System.Net.WebClient _webclient = new System.Net.WebClient();
Byte[] _buffer = _webclient.DownloadData(_reportfilepath);
Response.Buffer = true;
Response.ContentType = "application/pdf";
Response.AddHeader("content-length", _buffer.Length.ToString());
Response.BinaryWrite(_buffer);