Telerik Forums
Reporting Forum
1 answer
182 views

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:

Dimitar
Telerik team
 answered on 18 Jul 2024
1 answer
93 views
Hello team Telerik

I've implemented your web report designer in my angular application and now I want to ask that how can I provide data to It

Basically my main purpose is that I want my user to generate report with the data set I've provided in my application like if there is a return generated in my application and my user want to design report of that return how can I bind my data (in what format) in a way that when he open a web designer he gets that data automatically and then he design and export that report by himself 
Is this functionality is available in your web designer for angular or not? 
1 answer
95 views

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?

Momchil
Telerik team
 answered on 15 Jul 2024
1 answer
213 views

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

Dimitar
Telerik team
 answered on 12 Jul 2024
1 answer
131 views

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.

Carson
Top achievements
Rank 1
Iron
 updated question on 10 Jul 2024
2 answers
220 views
Hey,

Is that possible to share the same page header and footer for all the reports which were added to a report book. Thanks.

David
Top achievements
Rank 1
Iron
 answered on 07 Jul 2024
1 answer
346 views
Hi Team,
I am currently supporting the .NET project [MVC] that uses Telerik.Reporting.R3.2017, HTML5ReportViewer[MVC], and .NET Framework 4.5.2 The user can get Telerik report in two ways.
1) The user can render the report [based on criteria] in the browser viewer and then use export option in the viewer to get "XLS" format. This works all fine.
2) Another way to get report is using RenderReport function of Telerik.Reporting Which created file at specific location.

When User run report in report viewer and Export to Excel (.xls) it works all fine. However, when RenderReport function of Telerik.Reporting [Which creates Excel(.xls) file at specific location], Application throws error of "XLS rendering format is not available"

Unfortunately, unable to get this work even after detailed investigation and going through same post on Telerik forum.

your assistance is much appreciated

Thanks,
Ivet
Telerik team
 answered on 05 Jul 2024
1 answer
190 views

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.

Dimitar
Telerik team
 answered on 05 Jul 2024
1 answer
79 views

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?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 Jul 2024
1 answer
152 views

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.

Dimitar
Telerik team
 answered on 02 Jul 2024
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?