Telerik Forums
Reporting Forum
2 answers
341 views

Hello,

I am trying to run the Telerik Report Viewer with a WinForms application along with Wine on Linux. The application runs correctly, but it gives the following error before showing me the Report Viewer (the attached image).  Is there a way to fix it. Thanks in advance

error: culture is not supported, the parameter name eo is an invalid identifier

Josue
Top achievements
Rank 1
Veteran
 answered on 23 Jun 2020
1 answer
277 views

Hi,
I want to use the CancelationToken after updating to R2 2020 but not sure how can I do that with a way we process reports.
We have Report API (ReportsController) and a custom report resolver (IReportSourceResolver). Custom report resolver returns ReportSource object. The client side is HTML5ReportViewer.
So, for a processing report, exporting, printing we are not using any custom ReportProcessor classes.
How with this architecture, where we are not using programmatically ReportProcessor class, we can use CancelationToken? Is there any event we can subscriber so that cancelation token can be added before processing, exporting or printing reports?

Thanks,


Todor
Telerik team
 answered on 23 Jun 2020
7 answers
276 views
I have use Telerik Reports in Silverlight.I have place Print Date(Left Align) ,Number of Pages(Right -TextAlign,Dock-Right) and Report Name(TextAlign-Center,Dock-Fill) in my Report's Footer.Dynamically I need to Set Page Orientation of report from Landscape to portrait  and portrait  to landscape as per user's selection.My Report footer is display proper in portrait .But in Landscape.Footer size not able to increase.So Whether I have set Doc=Fill/Dock-Right.My Control's not able to display in center and right.Also not able to get Width property of Footer section.Let me know what to do in such case.
Todor
Telerik team
 answered on 22 Jun 2020
6 answers
729 views

Hi everyone!

I'm trying to design a report in the Visual Studio integrated designer but I don't quite understand how to use the table object...

I have a query in a DAO object in my program that is doing a very complicated transaction to fetch the necessary data to plug into the table...

how can I either add row by row the data with a variable number of rows or bind something like a datatable object to the table in the report?

the wizard asks me to input sql connection strings and stuff but I don't want to do that. I have a class that is taking care of the interactions with the various databases and tables needed to build the full report...

I used JasperReports before and I could just pass to the report builder a hashmap (something like a dictionary in C#) with the object as key and the value bound to that key and it worked flawlessly can I do something like that here too?

Otherwise I may just have to ditch this reporting mechanism and make a jar to launch on the side... I really would love to avoid that because until now the whole telerik suite has been a breeze to work with...

 

thanks for any help!

 

Fabio

Fabio
Top achievements
Rank 1
 answered on 22 Jun 2020
2 answers
569 views
Hi,

First of all I am posting this question because mostly all other questions related to the issue are kind of not uptodate.
I need to deliver reports those support both English/Arabic languages, which needs support for RTL direction,
to elaborate: if I have a table with three columns ProductID, ProductName, ProductPrice, I hope to get them in reverse order for Arabic language (ProductPrice, ProductName, ProductID)
would anybody please help me with this issue, is there a way to adjust the report layout to flow in RTL direction, I don't just need that for Table reports,
I also need it for Crosstab reports
I understand there is a limitation in RTL support, but would this be overcomed in the near future?

Thanks
Aseman
Top achievements
Rank 1
Veteran
 answered on 21 Jun 2020
6 answers
779 views
Hi All,

I need to pass a session variable to a report.  If I could access the session variables from the report that would be good too.  Any ideas how to do that?

Thanks,
Darren
Todor
Telerik team
 answered on 19 Jun 2020
0 answers
739 views

In a very few specific places in the product my company has built, we are using Telerik Reports in C#.

Report is trying to reach a stored procedure with 2 params: @languageCode and @invoicePaymentReceiptID

Creating a PDF Report however is giving me the below error:

ERROR

Value cannot be null.
Parameter name: type

STACK TRACE

   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at Telerik.Reporting.Processing.TypeReportDocumentResolver.Resolve(IProcessingContext context, TypeReportSource rs)

DLL VERSION

Telerik.Reporting, Version=9.1.15.731, Culture=neutral, PublicKeyToken=a9d7983dfcc261be

CODE

 Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
 System.Collections.Hashtable deviceInfo = new System.Collections.Hashtable();
 Telerik.Reporting.TypeReportSource typeReportSource = new Telerik.Reporting.TypeReportSource();
 typeReportSource.TypeName = frmR.reportName;
 typeReportSource.Parameters.Add(new Telerik.Reporting.Parameter("languageCode", frmMain.language));
 typeReportSource.Parameters.Add(new Telerik.Reporting.Parameter("invoicePaymentReceiptID", 20421));
 //typeReportSource.Parameters.Add(new Telerik.Reporting.Parameter("reportID", tsbReportList.ComboBox.SelectedValue));
 Telerik.Reporting.Processing.RenderingResult result = reportProcessor.RenderReport("PDF", typeReportSource, deviceInfo);

 

It hits in the last line, trying to create the PDF report. 
Any ideas on the topic would be much appreciated.

Thank you.

 

Konstantinos
Top achievements
Rank 1
 asked on 19 Jun 2020
1 answer
1.4K+ views

Hi!

I'm not sure if this is the right place to post this. I'm trying to figure out how to implement custom user functions for use with the reporting server. I was successfully able to implement custom aggregate functions as per this documentation: https://docs.telerik.com/reporting/expressions-user-aggregate-functions

However, when attempting to implement custom functions using this documentation, I cannot get it to work: https://docs.telerik.com/reporting/expressions-user-functions

The functions implemented in this way show up for use in the standalone report designer, but when using them they return an error: "function not defined in current scope"

Am I missing something obvious? Any help would be appreciated! 

Thanks

     

Todor
Telerik team
 answered on 19 Jun 2020
1 answer
142 views

Hello,

I am currently working on a project that requires me to generate a report then turn it into a pdf and send it in a email. I currently understand how to generate a report for a report viewer using uriReportSource, but I don't understand how to generate the report in the code behind then turn it into a pdf.

Todor
Telerik team
 answered on 18 Jun 2020
1 answer
251 views

How to localize Rich Text Editor component displayed by the Send Mail Message Dialog in the HTML5 Telerik Report Viewer?

 

 

Todor
Telerik team
 answered on 17 Jun 2020
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?