Quantcast
Channel: SQL Server Reporting Services
Viewing all articles
Browse latest Browse all 1418

How to convert rdlc report into pdf using iTextSharp?

$
0
0

Hi,
I've a rdlc report which I need to convert into pdf dynamically.
How to do this using iTextSharp?

I tried with normal code like below. but, it throws exception "No printers are installed".
byte[] bytes = ReportViewer1.LocalReport.Render("PDF");
Response.ClearContent();
Response.ClearHeaders();
Response.ContentType = "application/pdf";
Response.BinaryWrite(bytes);
Response.Flush();
Response.Close();


Viewing all articles
Browse latest Browse all 1418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>