Hi Ven,
The previously shared sample gets image from the application folder location which is passed to parameter value and set to ReportViewer using SetParameters() API. We have prepared a video sample of the application and it can be downloaded from the following location.
http://www.syncfusion.com/downloads/support/forum/121174/ze/ExternalImage1029490323
If you still face the issue in viewing the shared sample then share your Syncfusion Essential studio version details with us.
Regards,
Anandakumar S
Query |
Response |
I have followed the steps shared in the sample. However, report is not generating, instead i can see only progress till an long time. After SetParameter(), what function i need to call to save pdf report in preferred location.
I have created, Report viewer instance in .cs and binding report path from locally.
|
You have to call refreshreport() method after SetParameter() method to render the report. Also, if you want to export the report as PDF from report viewer, then you can use the built-in export option in the viewer to export the report. |
Using ReportWriter, i can able to generate report. However, image is not displaying in generated report. |
We request you to provide the image path as parameter and set the image source as “External Type” to export the report with image as PDF. We have prepared sample based on this and it can downloaded from the following location.
Also you can use RDLC report type and convert the image as bytes, assign it to the business data objects and use them to ReportWriter datasource property in code behind.
|
Can you suggest me the best approach to generate report with dynamic image path as pdf |
We can use the ReportWriter class to directly export the reports into PDF without viewing the report output. |