Telerik Forums
Reporting Forum
1 answer
65 views

I'm using ReportProcessor in my .NET 8 project to render a trdp report.  Rendering in PDF works fine but when I try to render as XLSX I'm getting the error in the subject line.

I've triple checked that I have installed all dependencies per this article OpenXML and XPS options not visible. Unavailable rendering format - Telerik Reporting

Any suggestions?


        [Authorize]
        public IActionResult Export(long id, string reportName="Statement.trdp", string format="PDF")
        {
            var baseUrl = $"{Request.Scheme}://{Request.Host}{Request.PathBase}";

            var reportProcessor = new ReportProcessor();
            
            var uriReportSource = new UriReportSource
            {
                Uri = Path.Combine(_environment.ContentRootPath, "Reports", reportName)
            };

            uriReportSource.Parameters.Add(new Telerik.Reporting.Parameter("stmtId", id));


            uriReportSource.Parameters.Add(new Telerik.Reporting.Parameter("url", baseUrl));

            var result = reportProcessor.RenderReport(format, uriReportSource, null);

            return File(result.DocumentBytes, result.MimeType);
        }


B
Top achievements
Rank 1
Iron
 answered on 30 Apr 2025
0 answers
27 views

I have a report with three parameters - two drop-downs and a date. All have AllowNull set to False.

The two drop-downs work fine when I pick data, but the Date parameter still has the red mandatory asterisk even though I have selected a date from the calendar - see below

What am I doing wrong?

Thanks

Tim.
==

Tim
Top achievements
Rank 1
 asked on 24 Apr 2025
1 answer
23 views

Can I run the VS report designer in a .net 8 Class Library project?

I can do it with .net 4.8 but not with standard nor .net 8?

Dimitar
Telerik team
 answered on 22 Apr 2025
2 answers
29 views

I am trying to replicate ssrs reports into telerik, and I need to have a Table layout like,

   column title         column title          column title

subtitle subtitle        subtitle            subtitle subtitle

  data      data              data                  data      data

 

can that be done from the webreportdesigner?

Ivet
Telerik team
 answered on 22 Apr 2025
1 answer
53 views

Hey forum members, 

My company recently decided to move the apps from IIS to Kubernetes. We had some issues with fonts but we solved. Telerik can render pdf succesfully but we see some shifts on texts and spaces in words get bigger. It renders on IIS on windows server fine, but in docker container, it seems weird a bit. We could not the reason. 

I m attaching the screenshots.
Note: all the data in the attached pictures are test data. They are not valid.

What is your suggestions about the cause? 

Thanks

Said

Todor
Telerik team
 answered on 22 Apr 2025
1 answer
30 views

Im new to Telerik reporting and am creating a class library in .net 4.81 to house the report.

When I run the Terlerik Report Wizard 2025 Q1

It starts up and asks me to select a Report template.

I select Band Report

Then it returns the message:

Can not start wizard. Make sure the reports default editor is the form editor

How do I fix this?

Side Note: I do have a previous .cs report build and I can view it in the designer and do preview.

Currently I have the Telerik.Reporting assembly referenced in the Class Library

Dimitar
Telerik team
 answered on 21 Apr 2025
1 answer
47 views

Our application allows users to enter Rich Text in some fields and we want to be able to print out that Rich Text in a report.

We are using Telerik Report Designer v19.0.25.313

Krasimir
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 16 Apr 2025
1 answer
25 views

I am using a standalone report templates to display the data from SQL data source with using stored procedure. If I  add the columns in the select statement of stored procedure causing the below error.

Designer details,

For datasource since we are passing connection string dynamically we cannot refresh the configuration manually from report designer. In that case how do we resolve this issue?

Thanks in advance

Suresh
Top achievements
Rank 1
Iron
 answered on 15 Apr 2025
1 answer
28 views
I am generating an image of a highly complex and customized report as an image. From that image I am then generating a data uri to pass off to another report as part of its JSON datasource. The property that contains the data uri is being set to the value property of a picture box (see image for picture box settings). However, no image ever renders in the report. I've stepped through the code and confirmed the data uri is valid and I can load the image that is generated using the data uri in my browser. Is there some additional configuration I need to do to get this working with the picture box element?
Ivet
Telerik team
 answered on 14 Apr 2025
1 answer
51 views

I have base configuration in appsettings.json (.Net 9 application)

    "telerikReporting": {
        "assemblyReferences": [
            {
                "name": "My.Assembly.Reports"
            }
        ],
        "extensions": [
            {
                "name": "PDF",
                "parameters": [
                    {
                        "name": "FontEmbedding",
                        "value": "Subset"
                    }
                ]
            }
        ]
    }

It works. But now I have multi layered configurations. There is appsettings.json and multiple other configuration files as customer1.json, customer2.json etc. Every customer has own settings and ovn assemly with reports. All is registered in program.cs in standard way. And it does not work. Seems that reportings have some hardcoded logic to read only from file named appsettings.json and whole configuration system of .Net is ignored.

It ends with errors:

An error has occurred while processing Report 'XXX':
 The type "XXX.TelerikReport.ObjectDataSources.XXX.Root" contained in assembly 
"XXX.TelerikReport.ObjectDataSources, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" cannot be loaded. 
To help improve the application's security, the reporting engine prevents loading types that are not essentially needed or listed as trusted by the user. If you 
consider particular types or assemblies as trusted include them in the corresponding TypeReferences or AssemblyReferences element of the 
'Telerik.Reporting' configuration section in the application's configuration file

 

Am I right? How can I split configs to multiple settings files? Can reporting work with configuration system as designed in .Net?

Todor
Telerik team
 answered on 14 Apr 2025
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?