This is a migrated thread and some comments may be shown as answers.

Report Book use in the Report Catalog

3 Answers 130 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bernard
Top achievements
Rank 1
Bernard asked on 22 Sep 2015, 07:22 PM

Hello - I am trying to use the Report Catalog sample and instead of setting the "View Report" text box Action to Navigate To Report directly I am trying to use this to run a Report Book, which can contain multiple reports.  Everything seems to connect up correctly but when I run the Report Viewer the Text Box is not clickable.  I can set it directly to the report assembly name and it works fine but when I try to use the User Function for the Report Book it doesn't allow clicking.  What could possibly be wrong?

Here is a sample of the function:

Public Function BuildReport(ReportName As String) As InstanceReportSource     Dim reportSource As New Telerik.Reporting.InstanceReportSource     Dim reportBook As New ReportBook     reportBook.Reports.Add(New CoverSheet)     If ReportName = "Acknowledgement" Then         reportBook.Reports.Add(New Acknowledgement)     ElseIf ReportName = "Window Schedule" Then         reportBook.Reports.Add(New WindowSchedule)     End If     reportBook.Reports.Add(New SignOffLetter)     reportSource.ReportDocument = reportBook     Return reportSource End Function

3 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 23 Sep 2015, 03:09 PM
Hi Bernard,

Below is a quote from my response in your support ticket #971824 on the same question.
"The Reporting REST service works only with UriReportSource and TypeReportSource for NavigatetoReportAction.ReportSource, which is logged in our system for improvement. Thus you will have to serialize the dynamically generated ReportBook objects and return the URI to the generated TRDX file.
This implies you will have to use the UriReportSource option to configure the NavigateToReportAction.ReportSource.

Please check the attached demo project illustrating the suggestion - Html5ReportViewer1.html.


Another approach that seems easier is to use a custom UI to allow users to select which reports to be previewed and what content to be included. The custom UI will update the HTML5 Viewer's reportSource.report and the ReportBook will be generated in a custom resolver. This scenario is illustrated in Html5ReportViewer2.html in the attachment.
"

Please let us continue the discussion in the above mentioned ticket in order to keep a better track on the exchanged information.
Thank you for your understanding.

Regards,
Stef
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Adam
Top achievements
Rank 2
answered on 12 Oct 2016, 06:08 PM

Stef, 

I'd be interested in seeing this implementation, but the attachment for the zip file is a broken link.  Could you upload this file again?

0
Stef
Telerik team
answered on 13 Oct 2016, 03:31 PM
Hello Adam,

There was a system issue, that should be resolved now.
Please test downloading the attachment again.

Regards,
Stef
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Bernard
Top achievements
Rank 1
Answers by
Stef
Telerik team
Adam
Top achievements
Rank 2
Share this question
or