Telerik Forums
Reporting Forum
1 answer
23 views

 

 

I'm getting below error while installing Telerik Reporting 2024 Q1 (18.0.24.130) Installation Error. I have downloaded the .msi file from Telerik site. Kindly Help.

 

 

Momchil
Telerik team
 answered on 13 Mar 2025
1 answer
33 views

I have been following the tutorials on creating PDFs of existing reports.  I have a function where I pass in the path name to the report (TRDP file).

Can you add filter or parameter to the report?

 

            ReportProcessor reportProcessor = new ReportProcessor();
            Telerik.Reporting.UriReportSource uriReportSource = new Telerik.Reporting.UriReportSource();
            uriReportSource.Uri = reportPathName;

            //uriReportSource.Parameters.Add();

            Console.WriteLine("Rendering Report " + Path.GetFileName(reportPathName));
            RenderingResult result = reportProcessor.RenderReport("PDF", uriReportSource, null);
            Console.WriteLine("Done Rendering Report " + Path.GetFileName(reportPathName));

            bool success = !result.HasErrors;
Petar
Telerik team
 answered on 11 Mar 2025
1 answer
60 views

I just started to evaluate the Trial Version of Reports. The good news is that I was able to re-create one of my existing Crystal Reports to a Telerik Report using the Designer. The bad news is I can't get the report to display in my existing .NET Core App(.net 9). I get the same error message in this link:

https://docs.telerik.com/reporting/knowledge-base/cannot-access-the-reporting-rest-service

I used this link below to get started. 

https://docs.telerik.com/reporting/embedding-reports/host-the-report-engine-remotely/asp.net-core-web-api-implementation/host-reports-service-in-.net-with-controllers

It says at the bottom of the link that there is a full example in the install folder, but the example only contains the REST service piece, not a full example where a REST is attached to a project.

Anyways, I am not having any luck troubleshooting this error message.  There is a mention of creating a .log file, but that file is not being generated for me. I tried Fiddler - have never used that before. I see this message below popped up., but no idea what that means. Do you have a full working example somewhere with a project and attached REST service?

{"message":"An error has occurred.","exceptionMessage":"Invalid URI: The hostname could not be parsed.","exceptionType":"UriFormatException","stackTrace":null}

Todor
Telerik team
 answered on 11 Mar 2025
1 answer
40 views

Hello,

I want to introduce some conditional parameters in my reports. Let me illustrate my case as follows:

Parameter_main - determines what other parameter will be visualized. Values are 1, 2, 3

Parameter_1, Parameter_2- only one is visualized depending on the selected value in Parameter_main.

If Parameter_main = 1 -> show only Parameter_1
If Parameter_main = 2 -> show only Parameter_2
If Parameter_main = 3 -> hide both Parameter_1 & Parameter_2 as they will not be used

Is there any way to achieve this only within the standalone report designer? I know that I can use the "Visible" property for the parameters but I cannot change it dynamically (through bindings) based on other parameters. Any ideas?

Regards,
Krasimir Baylov

Todor
Telerik team
 answered on 11 Mar 2025
1 answer
44 views
We are using Telerik reporting and  have embedded the Telerik report designer in our application (frontend of which is developed using Angular and backend in .net core). As part of integration, we need to implement the clone functionality of existing report. 
Our goal is to allow users to clone an existing TRDP report by providing a new report name and selecting a source TRDP file from a file dialog. The cloned report should then be saved on the Telerik Report Server with the new name. Below is a detailed description of the functionality we are trying to achieve and the challenges we are facing.

Expected Functionality:

1).The user clicks a Clone Report button in our Angular application.
2).A modal opens with:
   => A text input field where the user enters the new report name (e.g., OfficeCloneReport).
   => A file selection dialog to allow the user to select an existing .TRDP file (e.g., OfficeReport.trdp).
3).Upon clicking Save, the selected OfficeReport.trdp file should be cloned and saved as OfficeCloneReport.trdp 
on the Telerik Report Server.
4) Embedded Telerik report designer should open up with OfficeCloneReport.trdp open in designer.

Issue We Are Facing:

There is no clear documentation on how to achieve this cloning process within the Telerik Web Report Designer API.
We need guidance on the proper API endpoint or method to clone and save the report with a new name.

Questions: 
 1).Once clone button is pressed, how to save the existing trdp file with new cloned report name on report server via API or any other mean? How to open up the newly created off
 2).Is there a way to programmatically duplicate an existing TRDP report and rename it?
 3).What is the correct API method to handle this operation in Telerik?
 4).Are there any sample implementations or best practices for achieving this functionality?
 
We would appreciate your guidance on the best approach to handle this scenario in Telerik Web Report Designer.
Thank you for your time and support.
Dimitar
Telerik team
 answered on 11 Mar 2025
1 answer
33 views

Hello,

I am using Telerik Reporting and have a report that exports perfectly to PDF. However, when exporting to Excel, the formatting is incorrect, and some data appears to be missing (for exmaple POI which is location name under each time).

I would truly appreciate any guidance on how to resolve this. 

Todor
Telerik team
 answered on 07 Mar 2025
1 answer
38 views

Hi,

I want to generate a table with n columns and m rows, depending of the data source, I think using the crosstab is the best option, but I don't understand how to pass the datasource.

Data for columns are a list of StartProcess, and data for rows are a list of EndProcess

public class ProcessTreatment()
{
    public List<StartProcess> StartProcesses { get; set; } = [];
    public List<EndProcess> EndProcesses { get; set; } = [];
}

public class StartProcess()
{
    public int Id { get; set; }
    public string Code { get; set; }
}

public class EndProcess()
{
    public int Id { get; set; }
    public string Code { get; set; }
}

I would to show the code of the process for each one.

I tried to bind the datasource [=Fields.ProcessTreatment] at the tab, then put the value [=Fields.StartProcesses] at the column header, but only one column with this "System.Collections.Generic.List`1[OptaPlanning.Business.Reports.StartProcess]" is shown.

Can someone would help me how to insert properly the datasource please ?

Todor
Telerik team
 answered on 06 Mar 2025
1 answer
33 views

When using a certain table in the Standalone Report Designer I get an oci-22053-Error when loading data. It seems to be one of the float fields. When I exclude the field from my query, the error is not thrown.

Version is 19.0.25.211 .net Framework 4.6.2

Todor
Telerik team
 answered on 06 Mar 2025
1 answer
35 views

Hi,

Iam exporting date column values e.g. 23/11/2023 using Telerik to an .xlsx excel file.

From exported excel, if you right click the value -> Choose Format cell, it is showing as General

How can this be shown as Date.  What changes to make in Telerik file before exporting.

1 answer
53 views

We have embedded Telerik report designer in our angular web application. Reports which we have designed has web api datasources in it which requires authorization token. All the reports have a parameter named token defined in it in which we need to pass on the value of latest token when designer opens up. But not able to figure out the way to pass/update the parameter value when I'm opening the report designer. Following is the code we have to open report designer. 

    this.designer = $('#webReportDesigner')
      .telerik_WebReportDesigner({
        serviceUrl: `${environment.apiUrl}/reportdesigner/`,
        report: reportName != null ? `${reportName}` : false,
        parameterAreaPosition: 'left',
        parametersAreaVisible: true,
        interactive: true,
        tools: [
          { name: 'openReport' },
          { name: 'save' },
          { name: 'undo' },
          { name: 'redo' },
          { name: 'preview' },
        ],
        documentMapAreaPosition: 'left',
      })
      .data('telerik_WebReportDesigner');
With this code in place, I don't seem to find any way to update the report parameter value when I'm opening up the report in report designer. Can anyone pls help with this?
Petar
Telerik team
 answered on 05 Mar 2025
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?