or
Hello
I'm sorry to ask you this question because it's very simple.
When I set A3 in pageSettings and print, A4 size is the default setting, not A3 size.
How do I set up that part?
I found some bits of code from long ago but still can't figure it out.
Any up to date clear code You could give me ? I am using Angular/.NET core 5.0.
I am putting the report in the wwwroot and setting to copy always so the report seems to be there. The report has no parameters.
I get the error below
[HttpGet] //https://localhost:44374/reports/testreport public string TestReport() { string webRootPath = _webHostEnvironment.WebRootPath; var rptName = Path.Combine(webRootPath, "Reports\\AllForms.trdp"); var report = new Telerik.Reporting.Report { DocumentName = rptName }; var instanceReportSource = new InstanceReportSource { ReportDocument = report }; var reportProcessor = new ReportProcessor(); var result = reportProcessor.RenderReport("PDF", instanceReportSource, new Hashtable()); return "xxx"; }
The current data set presented in the report did not produce any significant content, so no pages were generated. If you need to see the whole report content, including blank pages, please contact the report author.