Telerik Forums
Reporting Forum
3 answers
369 views
Hi,

I've a report designed in standalone report designer (with a object data source) as per my requirement, I need to generate the .pdf for this particular report inside a C# web-service call. How can I convert the .trdx that I designed to a .pdf grammatically? is it possible at least?
Stef
Telerik team
 answered on 22 Feb 2016
2 answers
169 views

Hello,

I am using Telerik Standalone reports (.trdx) reports of version Q2 2014. I am facing an issue with HTML preview of report being used in an MVC ..net  project. I am using mostly table object to render data but this issue occurs on any type of control i place in report.

Both the issue picture and required result pic are attached with the thread. 

IamSalik
Top achievements
Rank 1
 answered on 22 Feb 2016
5 answers
622 views

I want to programmatically export a report book, however this command fails when I try to compile with the error:

Error 6 Argument 2: cannot convert from 'Telerik.Reporting.ReportCollection' to 'Telerik.Reporting.ReportSource'

Telerik.Reporting.Processing.RenderingResult ReportOutput;

 

ReportOutput = reportProcessor.RenderReport("xls", RB,

 

null);

I've seen a ReportBook passed to the reportProcessor in other online examples, so I'm not sure why it's failing. I'm running 2012 Q2.

 

Stef
Telerik team
 answered on 22 Feb 2016
2 answers
207 views

Hi!

 I am currently trying to design a crosstab report with the following basic layout:

 

Row 1:   |Header1 | Header 2 | Header 3| Header 4|

Row 2:   |Group 1 |                 |                |                |

Row 3:   |              |Group2     |                |                |

Row 4:   |              |                 |Group 3   |                |

Row 5:   |              |                 |                |Group 4   |

 

The first group is visible, the rest is collapsed at the beginning.

To make the whole table visually a bit more attractive I want to use empty lines to create blocks that make the table look like in the first attached image file.

I achieved this by adding empty rows between Row 1 & 2, and Row 2 & 3. This however only works of course if no other group is expanded. If I e.g. expand Group 2, the result would look like in the second attached file.

To preserve this visual blocks my idea was to insert such an empty row after each group, and change it's visibility depending on the visibility/expension-state of the group above.

 I managed this by giving the empty rows a StyleName, and in the DataBound-event of the according textbox that represents displayed groupdata I iterate through all textboxes with that Stylename and change their visibility accordingly.

 There is however one simple problem: all event that I found will only fire when I expand a group (ItemDataBound, ItemDataBinding). When I collapse a group no event seems to be fired at all.

Are there any events that could help me in this case? Or would there be a databinding alternative?

 

Christoph
Top achievements
Rank 1
 answered on 22 Feb 2016
5 answers
508 views

Hi,

I want to achieve functionality of creating report definition file (trdx) programmatically and then display into HTML5 page.

For this, I was going through below links-
http://docs.telerik.com/reporting/programmatic-creating-report

http://docs.telerik.com/reporting/report-sources-viewers

However, I couldn't achieve require functionality.

Could you please share step by step guide to achieve this functionality?

Stef
Telerik team
 answered on 19 Feb 2016
14 answers
466 views
hello

is it possible to have the telerik reporting standalone designer connected to a web api ?
thanks
sebastien
Stef
Telerik team
 answered on 19 Feb 2016
1 answer
117 views

Hi,

I want a visible gap between a GroupHeaderSection and the DetailSection. What is the best way to achieve this?

I have set the height of the header and this has the desired effect however I can't use this in my case as the header has a different background color so stretching the header isn't an option.

Many thanks,

Mark.

Katia
Telerik team
 answered on 19 Feb 2016
1 answer
108 views

Hi all,

Our development team are experiencing an issue of getting nullable report parameters from report viewer (HTML 5 + RESTful + TRDX). 

We created reporting module by Q3 2015 of Telerik reporting library and it worked util we upgraded the libraries to the latest version. Below steps shows what we done in our reporting module.

1. Create report definition files (TRDX) by Telerik Report Design Q1 2016. 

2. Generate reports by Telerik Reporting MVC, Restful reporting service and Trdx which is a very standard process and it works for reports which doesn't has any nullable parameters. Issues occurred only on reports that have nullable parameters.

3. If TRDX has any nullable parameters, we will see below errors.

=======================================================================================================================

Failed to load resource: the server responded with a status of 404 (Not Found) - http://localhost:56559/api/ReportServer/clients/092813-a9d7/instances - The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used.

=======================================================================================================================

According to Telerik document, this error is expected since we didn't define default values for those nullable parameters. However, after users entered report parameters at report viewer, the program will get parameters from UI by Javascript then it throws an exception like $('#orionReportViewer').data('telerik_ReportViewer') is undefinded. 

 The code of getting report parameters shows as below. It worked at Q3 2015.

========================================================================================================================

 var reportSourceParameters = $('#orionReportViewer').data('telerik_ReportViewer').reportSource().parameters

========================================================================================================================

Can anyone help me to solve this problem? Its very urgent. It seems that getting report parameters by JS not works anymore if trdx has nullable parameters. 

I double checked routing settings, NewtonJson versions and both report designer and reporting libraries are upgraded to Q1 2016. Did I forget to check any thing else? 

Thank you

Alex

 

 

Katia
Telerik team
 answered on 19 Feb 2016
1 answer
195 views

Can we change the layout of the HTML 5 viewer . Like Parameter at the top of the report instead On right side.

Also I want to display a dropdown box instead of default Listbox for report parameter.

 

Please let me know if it is possible

 

Stef
Telerik team
 answered on 19 Feb 2016
3 answers
287 views

I have a master report with two subreports. The dimensions of each areabout a A4 page. I use two parameters to hide the subreports. So normaly the report should be two pages if both parameters are activated and one page if only one parameter is activated.

But I always got two pages, page one empty if only subreport two is activated and page two empty if only parameter one is activated.

I am using the following bindung für the two subreports

Subreport 1: 

  • Expression: = Parameters.param1.Value
  • Path: Visible

Subreport 2:

  • Expression: = Parameters.param1.Value
  • Path: Visible

What can I do that the subreports will not use any space when visible=false? If I have a look at the 'HTML Redering' the space is empyt, but if I have a look at the print preview or do an export the space ist used.

The problem is that i have to create a Master/SubReport using 50 subreports where the user can select the desired subreports.

Stef
Telerik team
 answered on 19 Feb 2016
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?