I have a html5 report viewer that loads a report book, of which is hidden, with a print button shown that issues the print command. Viewer is hidden as I just want a print button and this was the only approach to do that shows the print dialog.
Anyways, that report book contains two reports. First one is a sales report, the other are items part of that sale. It was to simulate a functionality that I ported over from a function in MS Access to as close as possible. The report loaded and printed fine.
However, it needs to be now changed. The reports need to be printed on two different sizes. The sales report is fine the current dimensions. However, the items need to be sent to a printer that prints on 4x6 cards.
The idea I came up with is have two report viewers and load the individual reports and have the printEnd client event of the sales report to trigger the print of the items report. However, that doesn't work as that looks to immediately trigger the print of the items report and skips printing sales.
My question would be is there a way to print the next report after the first report is printed?

Hi,
Because of the recent supply chain attack related to Polyfill.io, are there any new version of telerik-angular-report-viewer that has removed the reference to the polyfill.io that we can use in out Angular application.
Please advise.
Thanks
Vas
I have created a Report Book with two separate reports using Report Designer. The report book and the individual reports have been uploaded to the Telerik Report Server. When previewing each individual report on the Report Server, the report displays fine. However, when I try to preview the report book, I get the error "Unable to get report parameters. An error has occurred. 'Report1.trdp' report cannot be found."
Not sure what I need to do to get this working since both are working individually. Thank you for any help you can provide.

Hi,
does someone figure out, how is intended to "sdsx" - shared data source should be working in single project, for designing and configuring reports?
the problem:
- designer is OK(left window at picture) and showing data = working, BUT "shared datasources \ *.sdsx" files are displayed at WRONG tree - > at number 2. It should be at 1.
- viewer fails, complaining, that sdsx cannot be found. But is lookig at wrong folder number: 4. It should be lookig to 1. which is also 5.
structure is default from documentation:
Reports located at: ...\Reports\ *.trdp
Sources located at: ...\Reports\Shared Data Sources\ *.sdsx
- How to tel the VIEWER(right window at picture), to look at \Reports\Shared Data Sources\ instead only at \Reports\ for *.sdsx files?
confih at picture, with PATHS:#region REPORTING
services.TryAddSingleton<IReportServiceConfiguration>(sp => new ReportServiceConfiguration
{
ReportingEngineConfiguration = sp.GetService<IConfiguration>(),
HostAppId = "BlazorWebReportDesignerDemo",
Storage = new FileStorage(),
ReportSourceResolver = new UriReportSourceResolver(Path.Combine(sp.GetService<IWebHostEnvironment>().WebRootPath, "Reports")),
//ReportSourceResolver = new UriReportSourceResolver(Path.Combine(sp.GetService<IWebHostEnvironment>().WebRootPath, "Reports", "Shared Data Sources")),
});
services.TryAddSingleton<IReportDesignerServiceConfiguration>(sp => new ReportDesignerServiceConfiguration
{
DefinitionStorage = new FileDefinitionStorage(Path.Combine(sp.GetService<IWebHostEnvironment>().WebRootPath, "Reports")),
SettingsStorage = new FileSettingsStorage(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Telerik Reporting")),
ResourceStorage = new ResourceStorage(Path.Combine(sp.GetService<IWebHostEnvironment>().WebRootPath, "Resources")),
SharedDataSourceStorage = new FileSharedDataSourceStorage(Path.Combine(sp.GetService<IWebHostEnvironment>().WebRootPath, "Reports", "Shared Data Sources")),
//SharedDataSourceStorage = new FileSharedDataSourceStorage(Path.Combine(sp.GetService<IWebHostEnvironment>().WebRootPath, "Reports"), new string[] { "Shared Data Sources" })
});
#endregion
Thanks for the tips, or how its supposed to work - with not all files in one directory.
Hello,
I've been having an issue with the reporting during the exporting to PDF.
When the text is too long, there seems to be a blank space before the actual text appears. (See images)
I've tried to manipulate the width of the report, textbox, the tables and containers, but nothing seems to work.
I've also tried several properties (CanGrow, CanShrink, KeepTogether, GroupKeepTogether, etc.
Is this as expected, or is there some workaround with it?

I have a in an ASP.net Core 6 application.
When I run the app from my laptop from VS 2022, it works correctly. It also run correctly when doing a Preview from the standalone report developer. (Telerik Report Designer v17.0.23.118)
When I try to run it from the Azure web app (using the same data source), after publishing I get an error saying parameter is not valid. Partial trace below.
I've verified that a valid parameter is being passed to the report. I can run the preview successfully using the same parameter value that's being used in the app.
The report was working before, but I need to make a change to the body. The report creates a PDF of the record displayed on the web page at the time.
Has anyone experienced something like this before? Where should I be looking for the error?
System.Exception: Parameter is not valid. at System.Drawing.SafeNativeMethods.Gdip.CheckStatus(Int32 status) at System.Drawing.Graphics.GetHdc() at
Telerik.Reporting.Pdf.PdfContext..ctor(String ownerPassword, String userPassword) at Telerik.Reporting.Pdf.PdfDocument.InitCompleted(Stream stream) at Telerik.Reporting.ImageRendering.PdfRenderingContext.InitPdfDocument(PdfDocument pdfDocument, Stream stream) at Telerik.Reporting.ImageRendering.DocumentPdf.CreateDocument(PdfRenderingContext pdfContext) at Telerik.Reporting.ImageRendering.DocumentPdf.ResolveDocument() at Telerik.Reporting.ImageRendering.DocumentPdf..ctor(PdfRenderingContext context, IMeasureContext measureContext) at Telerik.Reporting.ImageRendering.PdfReport.CreateDocument(IDictionary renderingInfo, IDictionary deviceInfo, CreateStream createStreamCallback, PageSettings pageSettings) at Telerik.Reporting.BaseRendering.DocumentRenderingExtensionBase.CreateWriter(IDictionary renderingContext, IDictionary deviceInfo, CreateStream createStreamCallback, PageSettings pageSettings) at Telerik.Reporting.ImageRendering.PdfReport.CreateWriter(IDictionary renderingContext, IDictionary deviceInfo, CreateStream createStreamCallback, PageSettings pageSettings) at Telerik.Reporting.BaseRendering.RenderingExtensionBase.Render(LayoutElement root, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback, PageSettings pageSettings) at Telerik.Reporting.BaseRendering.RenderingExtensionBase.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback) at Telerik.Reporting.Processing.ReportProcessor.RenderCore(ExtensionInfo extensionInfo, IList`1 processingReports, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback) at Telerik.Reporting.Processing.ReportProcessor.ProcessAndRender(String format, ReportSource reportSource, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback) at Telerik.Reporting.Processing.ReportProcessor.ProcessAndRenderStateless(String format, ReportSource reportSource, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback) at Telerik.Reporting.Processing.ReportProcessor.<>c__DisplayClass47_0.
Hello,
We have recently upgraded our .net solutions/projects to .Net 8.0.
In our old version, we have a ReportsController.cs which requests into the v18 Telerik.Reports framework project, and renders the report on the front end view the TelerikHtmlViewer template.
ex/ The Report Controller 4,6 framework code working fine with Telerik.Reporting.18.0.24.305.
using Microsoft.AspNetCore.Mvc;
using Telerik.Reporting.Services;
namespace HarWAPICore.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class ReportsController : APIBaseController
{
static readonly ReportServiceConfiguration configurationInstance =
new ReportServiceConfiguration
{
HostAppId = "MyApp",
ReportSourceResolver = new UriReportSourceResolver(httpContextAccessor.HttpContext.GetServerVariable()..Current.Server.MapPath("~/Reports"))
.AddFallbackResolver(new TypeReportSourceResolver()),
Storage = new Telerik.Reporting.Cache.Interfaces.IStorageProvider(),
};
public ReportsController(IConfiguration configuration, IWebHostEnvironment hostEnvironment,
IHttpContextAccessor httpContextAccessor) : base(configuration, hostEnvironment, httpContextAccessor)
{
ReportServiceConfiguration = configurationInstance;
}
}
}
And of course there's a separate Reports Projects with all of the Report designs, Charts, etc.
-----------------------------------------------------
Now....after UPGRADING our Reports project to .Net 8 (via the Visual Studio upgrade tool) it is breaking on the Charts lib. And I found this link below that Charts is obsolete.
https://docs.telerik.com/reporting/report-items/chart-(obsolete)
Here's an example of one Exams.Designer.cs file that breaks everywhere on"Charting".
namespace MyReports
{
partial class Exams
{
#region Component Designer generated code
/// <summary>
/// Required method for telerik Reporting designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
Telerik.Reporting.TableGroup tableGroup1 = new Telerik.Reporting.TableGroup();
Telerik.Reporting.TableGroup tableGroup2 = new Telerik.Reporting.TableGroup();
Telerik.Reporting.TableGroup tableGroup3 = new Telerik.Reporting.TableGroup();
Telerik.Reporting.NavigateToReportAction navigateToReportAction1 = new Telerik.Reporting.NavigateToReportAction();
Telerik.Reporting.TypeReportSource typeReportSource1 = new Telerik.Reporting.TypeReportSource();
Telerik.Reporting.Charting.Styles.ChartMargins chartMargins1 = new Telerik.Reporting.Charting.Styles.ChartMargins();
Telerik.Reporting.Charting.ChartAxisItem chartAxisItem1 = new Telerik.Reporting.Charting.ChartAxisItem();
Telerik.Reporting.Charting.ChartAxisItem chartAxisItem2 = new Telerik.Reporting.Charting.ChartAxisItem();
Telerik.Reporting.Charting.ChartAxisItem chartAxisItem3 = new Telerik.Reporting.Charting.ChartAxisItem();
Telerik.Reporting.Charting.ChartAxisItem chartAxisItem4 = new Telerik.Reporting.Charting.ChartAxisItem();
Telerik.Reporting.Charting.ChartAxisItem chartAxisItem5 = new Telerik.Reporting.Charting.ChartAxisItem();
Telerik.Reporting.Charting.ChartAxisItem chartAxisItem6 = new Telerik.Reporting.Charting.ChartAxisItem();
Telerik.Reporting.Charting.ChartAxisItem chartAxisItem7 = new Telerik.Reporting.Charting.ChartAxisItem();
Telerik.Reporting.Charting.ChartSeries chartSeries1 = new Telerik.Reporting.Charting.ChartSeries();
Telerik.Reporting.TableGroup tableGroup4 = new Telerik.Reporting.TableGroup();
Telerik.Reporting.TableGroup tableGroup5 = new Telerik.Reporting.TableGroup();
Telerik.Reporting.TableGroup tableGroup6 = new Telerik.Reporting.TableGroup();
Telerik.Reporting.NavigateToReportAction navigateToReportAction2 = new Telerik.Reporting.NavigateToReportAction();
Telerik.Reporting.TypeReportSource typeReportSource2 = new Telerik.Reporting.TypeReportSource();
Telerik.Reporting.Charting.Styles.ChartMargins chartMargins2 = new Telerik.Reporting.Charting.Styles.ChartMargins();
Telerik.Reporting.Charting.Styles.ChartMargins chartMargins3 = new Telerik.Reporting.Charting.Styles.ChartMargins();
Telerik.Reporting.Charting.ChartSeries chartSeries2 = new Telerik.Reporting.Charting.ChartSeries();
...
...
Here's what it looks like after a rebuild.
What do I do at this point ? Can my API Core projectI somehow call into my old Reports Framework project? Or is there a Telerik upgrade tool that I can download ?
Please advise...
thanks,
Bob
