Telerik Forums
Reporting Forum
1 answer
38 views
When exporting a report using the XLSX format, it always sets a white background and the gridlines aren't visible. I've set all the report, sections, and items to transparent background color. I've enabled "ShowGridlines" in runtime settings. When I export to XLS it works as expected with no background color. Therefore, I don't think it's an issue with the report itself. How can I export to XLSX with a transparent background to see the gridlines?
Ivet
Telerik team
 answered on 23 May 2025
1 answer
32 views

i get this error https://nuget.telerik.com/v3/index.json.   Response status code does not indicate success: 401 (Unauthorized). 

I BOUGHT THE $699 TELERIK REPORTING VERSION and I don't have a way to see my token in my account to connect to the Telerik feed. My account still seems to be a trial account. I already used my user ID, my email address, and my apikay to connect, but I couldn't. Any suggestions would be welcome. Thanks in advance.

Lance | Senior Manager Technical Support
Telerik team
 answered on 21 May 2025
1 answer
38 views

Hi Telerik Team,

I’m working with Telerik Report Designer and using a Web Service Data Source that is protected with two-step authentication. In my report, I have three report parameters: ClientId, Year, and Month. These parameters are passed to the API and are also used in three corresponding filters on the data source to dynamically fetch data for a crosstab.

From my understanding, when I click on the Preview button in the Report Designer:

  1. The first API call is made to retrieve the schema of the web service (to understand the structure).

  2. The second API call is made to fetch the actual data, using the parameter values I’ve provided.

Could you please confirm whether this is the expected behavior — i.e., that the Web Service Data Source initiates two separate API calls (one for schema, one for data), or it calls more than three times during preview?

I’m asking this to clarify internally, as I need to explain this behavior to my team.

Thank you in advance!

Best regards,
Prabesh Shrestha

Todor
Telerik team
 answered on 21 May 2025
1 answer
43 views

HI

I have written a .NET 8 MVC Application using Telerik Reporting 2025 Q1.
The report works fine when published to local IIS, but fails in a Linux Docker Container:

  http://localhost:8080/Home/Report


Error in browser console : 

Failed to load resource: the server responded with a status of 500 (Internal Server Error) /api/reports/clients/af4ec7bb24c/parameters  report:1
Uncaught (in promise) Invalid report type


HTML5 Report Viewer in View (ReportViewer.cshtml):

  $("#reportViewer1").telerik_ReportViewer({
    serviceUrl: "@Url.Content("~/api/reports/")",
    reportSource: {
        // report: "MyReport.trdp"
        report: "@Model.ReportType.AssemblyQualifiedName",
        parameters: {}
    },

    ...

  });


After trying again and again, I finally found the problem: it's the default image set in PictureBox1.

  Report1.Designer.cs

    this.pictureBox1.Value = ((object)(resources.GetObject("pictureBox1.Value")));

  Report1.resx:

  <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
  <data name="pictureBox1.Value" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
  <value>
    iVBOR......ggg==
  </value>
</data>


Once I removed the PictureBox, the report viewer worked correctly in the Linux Docker container.


My Questions:

1. Why does the Report Viewer show only a weak message "Invalid report type" ?
.NET 8 no longer supports System.Drawing.Bitmap in Linux Docker Container,
A clearer error message than just 'Invalid report type' would be helpful.

2. Is there any config to enable more detailed error output?
How can PictureBox default images set in the report designer be supported in .NET 8 Linux Docker containers ?

*The /api/reports/formats endpoint works fine.


Environment:

Windows 10 Pro
Visual Studio 2022
.NET 8 (latest)

Docker Container:
Ubuntu 22.04 (VirtualBox)
Docker version 27.5.1

 

Best regards

Chris

2 answers
47 views

Hi,

Are the methods in the ReportsControllerBase that I can use to capture the time taken to render a report and the size of the report?   I want to log all requests for reports with this information.  Using the HTML5 viewer and the WPF viewer.

 

Thanks,

Scott Waye
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 16 May 2025
1 answer
62 views

Hi,

I'm trying to migrate a project using the legacy WebForms report viewer to html5.

Now our use case requires me to build a report book at runtime, pass different parameters in per report and then add that report to the book. Once I collected all the reports in the book I want to show that specific book in the html5 viewer.

However I'm unsure as to how I can achieve this since the ReportSource doesn't allow me to add the instanciated book in.

Here is a quick example of roughly what I'm trying to do in this case:

Dim rs As New Telerik.ReportViewer.Html5.WebForms.ReportSource()
Dim multiQuoteBook As New Telerik.Reporting.ReportBook()
For Each quoteId In quotes
    Dim localQuoteReport As New Telerik.Reporting.TypeReportSource() 
    localQuoteReport.TypeName = GetType(Reports.QuoteReport).AssemblyQualifiedName
    localQuoteReport.Parameters.Add("LoginEntryId", LoginEntryid)
    localQuoteReport.Parameters.Add("DocumentId", quoteId)
    multiQuoteBook.ReportSources.Add(localQuoteReport)
Next
' How do I assign "multiQuoteBook" to the ReportSource "rs" ?
ReportViewer1.ReportSource = rs

Any input is appreciated.

I found this thread here: ReportBook using HTML5 Viewer in Reporting | Telerik Forums where the dev basically gave up on it as it seemed to hard. It's quite strange that I'm struggling with the same issue.

1 answer
52 views

I'm using Telerik Reporting 2025 Q1 with the standalone Report Designer .NET.

I need to style my reports to match the background color of our application. I thought that using  a Parameter to pass in the color would be a solution, but I can't seem to bind it to the Style.BackgroundColor of the header panel.

I added an Integer parameter called ThemeColor with the value of a hex color (1445712).

First off, there is no editor support for binding for the value of the BackgroundColor (i.e. there is no dropdown menu to select expressions only different color pickets), but I can type in an expression manually. I'm not sure if this indicates that the BackgroundColor doesn't support expressions or it's a quirk of the editor).

I've tried entering =Parameters.ThemeColor, but it says that '=Parameters.ThemeColor is not a valid value for Int32.' 



I've also tried Parameters.ThemeColor.Value, but with the same error.

I've also tried =System.Drawing.Color.FromArgb(Parameters.ThemeColor), but the same error.

It only seems to accept named colors even through the documentation suggests that it should accept hex color.
https://docs.telerik.com/reporting/styling/styling-reports/styling-report-items

Thanks,
Canice

 

Dimitar
Telerik team
 answered on 14 May 2025
0 answers
19 views

Hello,

Few years ago, we have integrated your Web Report Designer into our angular application. However, once we updated to angular 18, when we use production build with aot, Report Designer fails to load with errors like 'Cannot read properties of null'. It works if we disable aot optimization, but that doubles the size of our scripts.

Do you have any advice?

Thank you,

Sergey

Sergey
Top achievements
Rank 1
 asked on 13 May 2025
3 answers
103 views

Hi Team ,

I started using Telerik reporting , not sure how to use Cache mechanism , so telerik report should not connect production database every time instead cache data should be render ?

Tried few things like DatabaseCacheConfigurator.exe , but below error occurs .

Also any file cache mechanism available in Telerik Reporting ? , i can see all Cache mechanism are related to database like SQL Server , Postgre SQL , SQLLite etc....please help on this.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 May 2025
1 answer
58 views

Need assistance in how I can integrate the report viewer in my angular 19 application so I can have users pull up reports from our running Telerik report server.

 

I keep getting this error

Cannot access the Reporting REST service. (serviceUrl = 'http://localhost:81/api/reports'). Make sure the service address is correct and enable CORS if needed. (https://enable-cors.org)

 

I've created a route component for this function (which will be a hyperlink on the client) for pulling up a specific report.

the <task name>.component.html just has the <tr-viewer> element

the <task name>.component.ts has the implementation

Dimitar
Telerik team
 answered on 08 May 2025
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?