Report Book use in the Report Catalog

4 posts, 0 answers
  1. Bernard
    Bernard avatar
    5 posts
    Member since:
    Jul 2015

    Posted 22 Sep 2015 Link to this post

    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

  2. Stef
    Admin
    Stef avatar
    3047 posts

    Posted 23 Sep 2015 Link to this post

    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
  3. DevCraft banner
  4. Adam
    Adam avatar
    2 posts
    Member since:
    Mar 2013

    Posted 12 Oct in reply to Stef Link to this post

    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?

  5. Stef
    Admin
    Stef avatar
    3047 posts

    Posted 13 Oct Link to this post

    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
Back to Top