Telerik Forums
Reporting Forum
1 answer
8 views
Hello there,

I have this issue when generating my report, it duplicates the number of pages based on the amount of rows of data that my DataSource provides to the Report.
Another detail is the external border when generated from the report but in the preview or the designer doesn't show the border
How I can remove it?

I am using a table wizard connected to the data source (SQL Data Source).

Example in the attached file
2 answers
15 views

Hello Team, I'm trying to implement a User Defined Function to be access by Telerik Reports. Is a simple Replace function.

In Report designer I followed the instructions of copying the dll where the report designer is located. It runs fine using the following expression   TelerikFunctions.Telerik_F.Replace("t").

When I try to run it from an API, It does not return anything.

  • I added the TelerikFunctions.dll to the current project where TelerikReporting.dll is located.
  • I added the following entries on the  appsettings.json  
  •  

"configuration": {
"configSections": {
"section": [
{
"_name": "Telerik.Reporting",
"_type": "Telerik.Reporting.Configuration.ReportingConfigurationSection, Telerik.Reporting",
"_allowLocation": "true",
"_allowDefinition": "Everywhere"
},
{
"_name": "Telerik.ReportDesigner",
"_type": "Telerik.ReportDesigner.Configuration.ReportDesignerConfigurationSection, Telerik.ReportDesigner.Configuration",
"_allowLocation": "true",
"_allowDefinition": "Everywhere"
}
]
},
"telerikReporting": {
"assemblyReferences": [
{
"name": "TelerikFunctions",
"version": "1.0.0.0",
"culture": "neutral",
"publicKeyToken": "null"
}
]
}

I also placed the function in the wwwRoot where the reports are located. But still, it doesn't recognize the function.    

Class Library containing UDF

Carlos
Top achievements
Rank 1
Iron
Iron
 answered on 08 May 2024
0 answers
28 views

I was using the service in Framework 4.8 but migrating to .NET 8 and I'm trying to reference an assembly that uses some functions in the reports.
How do I reference?

he only place I found was this one but it doesn't work.

assemblyReferences Element Configuration - Telerik Reporting

Rudá Cunha
Top achievements
Rank 2
 asked on 15 Apr 2024
1 answer
38 views

Hi,

Maybe you want me refer Assign connection string dynamically using report parameter and bindings - Telerik Reporting .I followed the solution, it didn't work . And then I set the 'ConnectionString' to '@ReportParameters.PFDSConnectionString', it also didn't work, even if I add the '.Value'.Pls refer the error.png

But when I set the connection string to the property 'ConnectionString' , it worked. And I tested the parameter rendering, it's also OK. Pls refer the success.png.

I think the C# code is OK. Because when I use the appsetting.json file to injec the connection string.

Set ConnectionString to 'AcosReportsConnection', It's OK too. Pls refer the appsettings.png.

Because now the connection string come from database depending on different input parameters, I need to set the connection string dynamically.

Now I am very confused.

Do you have any suggestiones? Thanks.

 

1 answer
29 views

Hi,
I'm using a trial version of Telerik reporting.
I designed a trdp project file and I included it in my application.
The data source is a json string that I change at runtime.

I tried to export on pdf and I get no error from the call to RenderReport, but saving the bytes of RenderingResult.DocumentBytes on a pdf file I get a unreadeable file, it is a real pdf file (I see it on hexadecimal editor) but very short.

I tried to export on csv, html, and rtf and I get a valid and  good file.

Could be a trial limitation?

Thank you

Luigi

Todor
Telerik team
 answered on 25 Mar 2024
1 answer
20 views

I have a telerik report that has grouping sections based on a "Page Title"

The first page title is my Cover Page, which just contains a multi-line textbox that has its visibility set to TRUE only if the current group is the cover page

I want the textbox to be automatically centered in the page on rendering of the report without having calculate 11in-(header+footer+margins) and physically set the height of the textbox. Is this possible?

Sample attached

Todor
Telerik team
 answered on 20 Mar 2024
1 answer
25 views

Compare between non-delete and delete two textbox, just have value difference.

------------original report code

<TextBox Width="1in" Height="0.7cm" Left="0cm" Top="0cm" Value="=AVG(Fields.Actual_downtime_50_last)/AVG(Fields.Actual_runtime_50_last)" Format="{0:P0}" Name="textBox36" StyleName="">

<TextBox Width="1in" Height="0.609cm" Left="0cm" Top="0cm" Value="=(Fields.Actual_downtime_50_last)/&#xD;&#xA;(Fields.Actual_runtime_50_last)" Format="{0:P0}" Name="textBox37" StyleName="">

-----------after deleting value

<TextBox Width="1in" Height="0.7cm" Left="0cm" Top="0cm" Format="{0:P0}" Name="textBox36" StyleName="">

<TextBox Width="1in" Height="0.7cm" Left="0cm" Top="0cm" Format="{0:P0}" Name="textBox36" StyleName="">

-----------------------------------

I want to know how to fix this, because the final value isn't long

 

Momchil
Telerik team
 answered on 15 Mar 2024
1 answer
148 views

When we try to process a report from a .NET 6 application, there is an exception
 "BinaryFormatter serialization and deserialization are disabled within this application. See https://aka.ms/binaryformatter for more information."
Version used: Telerik R1 2023 SP1

On Telerik forums, there is a workaround to suppress this error, see below:
https://www.telerik.com/forums/aspnetcore-5-support
https://docs.telerik.com/reporting/knowledge-base/binaryformatter-exception-after-upgrade-to-net5
However, based on this post the BinaryFormatter is necessary for serialization and not having it will cause issues with image generation.
Please advise if there is a way to generate reports with images from a .NET 6 app without using EnableUnsafeBinaryFormatterSerialization.

Ivan Ivanov
Telerik team
 answered on 01 Mar 2024
1 answer
25 views

Hello, I'm using Telerik Reporting R3 2023 to produce reports in PDF format. I use the stand alone report designer to design the report definition and our application uses Telerik Reporting to generate the report. I have a text box with a "Toggle Visibility" Action that works correctly when I preview the report in the stand alone report designer. When I click the "+" button, it toggles the visibility of another text box:

 

However, when I use our application to generate the report to a PDF or HTML5 format, the "+" button isn't there:

 

 

Any help is appreciated

Todor
Telerik team
 answered on 26 Dec 2023
1 answer
81 views

Currently, we use SSRS in our ASP.NET MVC apps to automatically generate tabular, in-memory reports based on RDLC templates against SQL Server data. The PDF produced by SSRS are downloaded to the user's browser. We don't provide any report viewer components on the page. How do you do this using Telerik Reporting?

Also, do you have beginner training videos for Telerik Reporting?

Thank you.

Dimitar
Telerik team
 answered on 26 Dec 2023
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?