Telerik Forums
Reporting Forum
1 answer
96 views

I have a .NET 8 Blazor WASM frontend using ReportViewer with a .NET 8 Minimal API with the Telerik Report REST Service. All of this is setup and works fine when the reports (trdp) aren't doing anything complicated, but when I try to use a trdp provided to me that uses some WebServiceDataSource calls that require auth I get a 401. 

These endpoints that are being hit work using the same AuthenticationToken used to hit the telerik endpoints. 

Somehow I need to get the token I am already passing down to also go to those webservicedatasource endpoints. These endpoints are actually in the same project as the telerik report service and work fine on their own with the token

Dimitar
Telerik team
 answered on 23 Dec 2024
1 answer
94 views
I have a question regarding the use of procedures in Telerik Reports Design. I am trying to generate a report that utilizes a stored procedure from the database. However, when attempting to use the stored procedure, I noticed that the system does not recognize the parameters. I have also tried declaring a sys_refcursor, but the issue persists.

I would like to know if there is any alternative or different approach I can take to resolve this issue.
1 answer
76 views

Hello,

I need to generate a report with a Table Of Contents. Everything is generated dynamically through C# with a JSON I use in Telerik Reporting. The thing is : in my TOC section, I need the Level 1 to not have the page number on the right. I managed to remove the dots between the title and the page number (LeaderSymbol) but I can't find anything to remove the page Number...

Can somebody tell me if it's possible and if yes : how ?

Thank you

2 answers
113 views

I am trying to display a textbox in the report header when the page is first opened and no parameters have been selected. Something like "Please select parameters to view report." I am trying to do this by creating a binding on the textbox like this "=IIf(Parameters.Plant.Value Is Nothing, True, False)" So if the plant parameter is blank (which it would be), display the text box otherwise do not.

I can't get this to work. Can you give me some insight as to what I may be doing wrong?

Thanks

Toya
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 18 Dec 2024
1 answer
96 views
I'm developing an ASP.NET report

My table header is obtained from the incoming data and is not fixed.
So I want to dynamically add Columns and put the content I specify, such as where the picture is circled

But no matter how I adjust it, I can't read my fields.

Even if I use static data for testing, it always tells me
"An error has occurred while processing Table 'table1':
Table Body has 3 rows but 1 are expected."

How should I write report code to achieve the results I want?

Attached is my code Hope you can help me answer it
Thank you very much
Dimitar
Telerik team
 answered on 18 Dec 2024
2 answers
176 views
I have a report created in the desktop designer with a single grouping that I have working correctly. However, I need to display results from a table on the last page of the report only. I cannot insert a table into the page footer that I can see, how can I achieve this? The group footer which allows a table prints at the bottom of every page. 
Ivet
Telerik team
 answered on 18 Dec 2024
1 answer
114 views

A couple of questions regarding tables..

I know how to get a total for a column, but the row shows the cell grids for all columns in that "total" row. Table total row.jpg

Is there a way to suppress that and show text that says Total similar to something like in Preferred table total.jpg  It doesn't have to appear immediately below the row.

I also have a need to sometimes charge a sales tax so need something that looks like in Alternate table total.jpg.  This would be determined by a field that is in an "Invoice Header" data source.

I don't know how to reference the =Sum(Fields.ShiftTotal) from the table, outside the table

If the total row is a couple of separate boxes, I can then put the tax into a hidden box and display when required.

 

I guess an alternative would be to have the total in the Invoice Header data source rather than calculated from the Invoice Detail data source

Dimitar
Telerik team
 answered on 17 Dec 2024
2 answers
351 views

Hi,

I am using Telerik Reporting version 17.1.23.718 on an Ubuntu 22.04 VPS. Initially, I faced an issue where reports were not displayed in the viewer, but I resolved it by adding the System.Drawing.Common NuGet package to my project.

Currently, the Telerik Report Viewer displays the report correctly, including Arabic text rendered with the Times New Roman font. However, I am facing a problem with the exported PDF and the print preview:

  • The Arabic text does not display correctly in these outputs.
  • The font used in the report is Times New Roman, and I have installed it on the server.

I have attached screenshots to demonstrate the issue.

  • Attachment 1: Viewer displaying the report correctly.
  • Attachment 2: Incorrect rendering in PDF export and print preview.

Please advise on how to resolve this issue.

Arifullah
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 14 Dec 2024
1 answer
68 views

I have the Angular Report Viewer configurated with the Authorization Token option, 

<ng-container>
  <tr-viewer
    [containerStyle]="viewerContainerStyle"
    [serviceUrl]="serviceUrl"
    [authenticationToken]="authenticationToken"
    [reportSource]="reportSource"
    [viewMode]="'INTERACTIVE'"
    [scaleMode]="'SPECIFIC'"
    [scale]="1.0"
    [parametersAreaVisible]="true">
  </tr-viewer>
</ng-container>

 

When I preview the report, it works fine, but when I export the report, the page is redirected to https://.../api/reports/clients/29647efbe45/instances/18eaf5b1936/documents/b86a87758c11f7b9cd832a?response-content-disposition=attachment and in this redirection is not including the authorization header

 

Thanks a lot, Ariel

Dimitar
Telerik team
 answered on 13 Dec 2024
1 answer
58 views

hello team, 

I have a report created in web designer and store the data in the database (binary). Now I want it to become sub report in my master report, I am using UriReportSource, then type the subreport name in the Uri text box, it does not work, it shows it could not find the subreport name, do we have any idea or solution to custom the path or load subreport here?

Thank u.

Top users last month
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?