Telerik Forums
Reporting Forum
9 answers
1.6K+ views
Hi,

I have a table control on my report. I want to have alternative rows applied two different colors.
I dont find any properties or style for this.
Please help

Thanks
Sony
Peter
Telerik team
 answered on 11 Nov 2019
3 answers
552 views

Hello,

I use Telerik Reporting to auto create PDF-files and I also use the Html5 user.

During loading the report, thousands of files and folders were created in Path C:\WINDOWS\Temp\Html5App\12.0.18.227\...  although I set cache provider to "Memory" in app.config.

On the systems of my customer, the infrastructure occurs problems on these amount of files. Is it possible to disable the creation of these files and folders?

 

Best regards

Patrick

Todor
Telerik team
 answered on 11 Nov 2019
22 answers
743 views

I'm fairly consistently getting a 503.0 error (server has been shutdown) when working with Telerik reports. This is an ASP.NET Core application, currently with a single report with 2 sub-reports. I've published the application to a test Azure app service and that fails pretty consistently when trying to preview the report each time. On most occasions the report opens but as soon as I switch to print preview I receive a report that the service has shutdown with a 503.0 error - racing shows this to be with ASPNetCoreModuleV2.

If I run the application in debug mode from my VS2017 on Windows 10 using IISExpress and Firefox browser, the application works fine and I can navigate around without any issues. If I then run the report it opens and displays correctly. I can switch to print preview and mostly that also shows correctly but when I try to export to PDF I get the 503.0 error. Sometimes the error will come up at print preview stage. The report runs from a SQL data source using a stored procedure. The 2 sub-reports run from separate stored procedures. They are all set to use the same application "ReportsConnection", passing 2 parameters to the report and consequent stored procedure. Can you provide some advice on what might be causing this problem or what to investigate to try to identify the issues?

Todor
Telerik team
 answered on 08 Nov 2019
7 answers
155 views

Hi there,

I have a report with 3 filter, date1, date2 and driver.
The report parameter driver is set to multivalue.

How can I set the report so that each selected driver
gets its own table in the report and is displayed on a separate page?

Example:
In the report, 3 drivers were selected.
So there are 3 tables in the report each on a DINA4 page.

---
Can I realize this with a ReportViewer or should I better take a ReportBook?

Is there an example project for download?

 

Best regards

 

Simon

Simon
Top achievements
Rank 1
 answered on 08 Nov 2019
6 answers
3.0K+ views

In my report I'm using 2 data sources: webServiceDataSource and jsonDataSource. The main DataSource for the report is webServiceDataSource. I'm using jsonDataSource just for storing some report meta data and I want to read this jsonDataSource source from c# code.

Part of my code:

Telerik.Reporting.Report report = ... - (it's report object)

var dataSource = report.DataSource;

We have access to DataSource property. But, we don't have access to DataSources collection property in code. I tried to use DataSources property in Watch window(Visual Studio 2019), it is now showing on intellisense, but if you write DataSources property manually then it works.

Question is how can I read DataSources collection property and get jsonDataSource programmatically?

Todor
Telerik team
 answered on 07 Nov 2019
1 answer
454 views

 

When I try to alternate row color on a table on a report I use the Conditional Formatting =RowNumber()%2

When the report runs I get the error “Aggregate node ‘LeafNumber(Const(RowNumber))’ not found.

José Miguel Herrera G
Top achievements
Rank 1
 answered on 07 Nov 2019
5 answers
820 views
Is it possible to generate data on a button clicked and put that data inside a report which has a pre-defined design? I am using asp.net mvc, any guides or demo I could use?
Aubrey Ivan
Top achievements
Rank 1
 answered on 07 Nov 2019
2 answers
337 views

I'm always getting an "invalid format" exception when using the following header in a web service data source as parameter:

Authorization="Bearer testeXAMpleKV1QILCJhbPlkIiJIUzI2NiIsImdpZCI6Im.893PSJ9eyJpc3MioiJzc4p3dCIsIkN1YiI6ImNiYjhkOWQ1LTMxYjYtNDJiNS3hYjZmLWI0NDliYThlNmNwNyIsImlhdCI6MTa3MTY4MjUwOSviZ1hwI56xNTcxNjkzMz25LcJuYW1lIjoiYvRtaW3iLCkwcmVmZXJyZWRfdXNlcm5hbWUiOiJhZG1pkiIsInJvbGVzIjpbIkRhdGFSZWFkZXIiLCqBtG1ebmlzdEJhdG9yIiwiRGF0YVdyaXRlciIsIlrhc2tSZWFkZXIiLCJUYXNrV3JsdGVyIiwiUmVwb3J0UmVhZGVyIiwzUmVwb3J0V3JpdGVyIikiVXNlolJlYWRlciIsIlVzZpJXcnl0zXIiXSwiTGFuZ3VhZ2UiOhJmcl9DSCi9XfywW.w8OpuvK7H9lr0hnEJMVe9UKy27GDjyLpOuInPc"

 

The actual error message: The format of value '="Bearer testeXAMpleKV1QILCJh.....pOuInPc"' is invalid.

 

Any suggestions?

Kevin
Top achievements
Rank 1
 answered on 06 Nov 2019
1 answer
148 views

Hi,

I need to be able to change the datasource for the reporting at runtime.

Currently I am using MySQL not SQL so the method shown does not work

Directcast(report.datasource, Telerik.Reporting.SqlDataSource).connectionstring = "ConnectionString"

All my reports work fine with the MySQL connectors, just need to change the datasource as i'm working with multiple databases.

 

Todor
Telerik team
 answered on 06 Nov 2019
7 answers
340 views

I've had users tell me that the parameters area of the report viewer is no longer clickable on devices running the latest version of Android. This is one description:

"I can open the filter and see everything but clicking is unresponsive.
It's weird though, it will outline the element so it knows that something is being clicked there but it just doesn't select or deselect the element."

Has anyone else run into this issue? Is there a work-around or fix?

Rich
Top achievements
Rank 1
 answered on 05 Nov 2019
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?