Telerik Forums
Reporting Forum
1 answer
150 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
127 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
189 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
163 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
279 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
228 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
476 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
100 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
105 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.

7 answers
902 views

I'm using the new Angular Report Viewer. My Component allows the user to change different parameters to generate the report. The first time the report runs, everything is fine. When a new set of parameters are selected, requesting the report still shows the report with the initial parameters.

In the prior version, I was able to get this to work by doing this in my ts file:

const v1 = $('#reportViewer1').data('telerik_ReportViewer');
v1.reportSource(requestedReportSource)
v1.refreshReport();

Where requestedReportSource contained the new report parameters.

In the new TelerikReportViewerComponent, I see there' a setReportSource() method, but I'm unable to get the right JSON parameter format to be passed to the method.

Any examples on how to update the ReportSource for the component would be appreciated.

Bob

 

 

Bhavika
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 11 Dec 2024
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?