I Have a requirement like to open the corresponding HTML5 report viewer dynamically by passing the report source based on the click of a hyperlink.
Example:
Hyperlink1
Hyperlink2.
On clicking the Hyperlink 1, I need to pass the report source dynamically to report viewer and open its corresponding report. Similarly, on clicking link2 and so on.
Kindly suggest me the approach to satisfy this requirement. Thanks in advance.
When I add this extension to .Net 8, I get this compatibility error, since I'm incorporating it into my application.
This is the error shown in the extension, so I can't use its features;
The message is:
"Package 'Telerik.ReportViewer.Mvc 18.1.24.709' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net8.0'. This package may not be fully compatible with your project."
See the image below:
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?