Telerik Forums
Reporting Forum
3 answers
330 views

Hi Telerik reporting support team,

We are looking for a solution to draw 2 series of chart in the same Graph: LineSeries and BarSeries. We did it successfully in Telerik WPF but not in Reporting.

In WPF, we can draw 2 series with 2 datasources in the same Graph.

In Reporting, we tried to draw 2 graphs, the bar overlays on line, but unfortunately, they are not positioned in the same scale (see picture).

image

Do you have any suggestion to us to achieve this behaviour?

 

Many thank for your help,

minh
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 27 Jun 2025
1 answer
13 views

Currently we're using a pictureBox as a Watermark, but this only shows on the first page of the record.

We also created a binding to show/hide the image.

 

When using a real Watermark it is correctly displayed on every page, but we cannot add a binding to conditionally show/hide it.

 

How can we implement a Watermark that both is displayed on every page, but also is only shown on a specific condition?

 

Kind regards.

Ivet
Telerik team
 answered on 27 Jun 2025
2 answers
27 views

We just updated Telerik Reporting to 19.1.25.521.

Our application uses WPF but because of historical reasons, we use the WinForms ReportViewer hosted in a WindowsFormsHost control.

Since the latest update (coming from Telerik Reporting Q1 2025), we get a NullReferenceException when the ReportViewer is about to display the report after loading it.

System.NullReferenceException
  HResult=0x80004003
  Message=Object reference not set to an instance of an object.
  Source=Telerik.ReportViewer.WinForms
  StackTrace:
   at Telerik.ReportViewer.WinForms.Licensing.UiLicensePresenter.ShowWatermark(Action showWatermarkCallback)

It seems to have something to do with Licensing? We have manually placed the [assembly: global::Telerik.Licensing.EvidenceAttribute... declarations for Telerik UI for WPF and Telerik Reporting in the project, as it is instructed in your documentation. The regular Telerik WPF controls work fine in our application.

 

Dimitar
Telerik team
 answered on 25 Jun 2025
1 answer
5 views

I'm trying to generate a report in my Blazor application.

What I’ve done so far:

  • I used the Standalone Report Designer to create a sample report based on JSON data.
  • I saved the report as a .trdp file and embedded it into my Blazor project.
  • Using the Telerik Report Viewer, I was able to display the report successfully in the app.

Now here's what I want to do:

  • I have dynamic JSON data generated within my Blazor application at runtime.
  • I want to use this runtime JSON data to populate the existing .trdp report.

 

2 answers
16 views
Hello,

I created a report using the Standalone Designer (in .trdp format). In the data connection, I configured it to use a shared connection. From within the Designer, everything works fine — I can preview and export to PDF without any issues.

I then created a console project (code shown below) to try exporting the report to PDF.

In the project's configuration file, I added a connection string to use.

However, when executing the following line:


RenderingResult result = reportProcessor.RenderReport("PDF", sourceReportSource, deviceInfo);

I get an error in the Inner Exception:
Keyword not supported: 'host'.

My PostgreSQL connection string is:
"Host=localhost;Port=5432;Database=crp;Username=postgres;Password=****"

But the connection string is correct — it’s exactly the same one I use in the Standalone Designer, where it works without any problem.

If I embed the connection string directly in the report instead of using a shared connection, everything works fine.

Any idea what could be causing this?



        static void Main(string[] args)
        {
            var builder = new ConfigurationBuilder()
                .SetBasePath(Directory.GetCurrentDirectory())
                .AddJsonFile("appsettings.json", optional: false, reloadOnChange: true);

            IConfiguration config = builder.Build();

            string connectionString = config.GetConnectionString("crp");

            string reportName = @"D:\dev\telerik-reporting\reports\report.trdp";

            var reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();

            // set any deviceInfo settings if necessary
            var deviceInfo = new System.Collections.Hashtable();
            var sourceReportSource = new Telerik.Reporting.UriReportSource();
            sourceReportSource.Uri = reportName;
          
            sourceReportSource.Parameters.Add("procedure_id", 6);

            RenderingResult result = reportProcessor.RenderReport("PDF", sourceReportSource, deviceInfo);

            if (!result.HasErrors)
            {
                //string fileName = result.DocumentName + "." + result.Extension;
                string fileName = "file.pdf";
                string path = @"D:\";
                //string path = System.IO.Path.GetTempPath();
                string filePath = System.IO.Path.Combine(path, fileName);

                using (System.IO.FileStream fs = new System.IO.FileStream(filePath, System.IO.FileMode.Create))
                {
                    fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length);
                }
            }

        }


Andrea
Top achievements
Rank 1
Iron
 answered on 24 Jun 2025
1 answer
7 views

Hi All : 

I am working with Crystal Report to Telerik Report conversion. After I have generated a target trdp file, I found that the parameters in crystal report is not installed to the target report.

I have to manually install the parameters back to the

Here is the original Crystal Report with a parameter. 

The target report :  (No parameter can be found in Report Explorer, I have to install the parameter to make the start the preview(

 

 

My Question is : Do I have to manually install the parameter to the target Telerik report after running the conversion tools? 

 

Thank you in advance.

 

Ivet
Telerik team
 answered on 24 Jun 2025
1 answer
13 views

Problem's Summary : 

Section Formula information lost after Crystal report to Telerik report conversion

What has been done :

I have converted a Crystal report having multiple sections , each section has its own background color controlled by Formula :Also I have used formula to control data formatting (color) in the original Crystal Report.

 

After I have used the convert it to Telerik Report.

I found that the formula is missing in the converted Telerik Report, there is no any coloring effect in new report. 

 

My Question is : does the Telerik Crystal Report Converison tools support Formula conversion ?

 

Thank you

Ivet
Telerik team
 answered on 23 Jun 2025
1 answer
12 views
We have a project (.Net Core / Angular) that we've been working on with a client for the past year. It's an application with Telerik reports to which we both built a development / sandbox for user training as well as vetting changes and we also built a production app for final use. The development app database has open access to VPN and I've had no trouble connecting the reports to the SQL server. The second database, for prod, will not work over VPN and must be used on-site.

What we've been able to vet for the prod Azure SQL server:

1) Both the ActiveDirectoryManagedIdentity connection and username / password connections have been vetted as working.
2) Running the project from a VM where the prod server is local the reports work fine.
3) Deploying the app to Azure causes the Telerik reports to fail with the following message:

"Unable to get report parameters. An error has occurred. Unable to establish a connection to the database. Please verify that your connection string is valid. In case you use a named connection string from the application configuration file, make sure the name is correct and the connection string settings are present in the configuration file of your application"

I was able to confirm that if I make this same connection (username and password rather than Managed Identity) my DefaultConnection as well for other data in the application everything works and the data still pulls, it only seems to fail in the Telerik reports.

I've attached an image demonstrating that the named connections match both in the Telerik reports and in my appsettings.Production.json. What I'd like to know is what next steps you would recommend for resolving this. 
1 answer
14 views

We have a ASP.NET MVC application.

We translated the report viewer as per info provided here to german: Localization of the HTML5 ReportViewer Explained - Telerik Reporting

Now the viewer still shows "Page # of #", and also the dropdown for export still shows english file extensions:

How do we translate these elements as well?

 

Kind regards.

Ivet
Telerik team
 answered on 19 Jun 2025
1 answer
10 views
Hi... I have a signature saved in a text sql field, and I want to print it in a telerik report, but I haven't idea of how do it, please help me explicitly
Ivet
Telerik team
 answered on 19 Jun 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?