Report book

6 posts, 0 answers
  1. Aho
    Aho avatar
    21 posts
    Member since:
    Oct 2009

    Posted 19 Nov 2012 Link to this post

    Hello

    Will it be possible in the next releases to create a report book with the desinger?

    Basically I need 2 pages for a report of the same content, but with a different layout.

    Can that be achieved by a single report?
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 20 Nov 2012 Link to this post

    Hi,

    A report book is basically combining different reports into one for the purposes of printing them at once or exporting them to a single file. In this line of thoughts, you have a report designer which you can use to create the reports that you would combine into a report book. You can open the Visual Studio examples we provide with the product and see how we add reports to a report book e.g.:

    public class ReportBook : Telerik.Reporting.ReportBook
        {
            public ReportBook()
            {
                this.Reports.Add(new Dashboard());
                this.Reports.Add(new ProductSales());
            }
       }

    Since you need different layout, you would have to create two reports bound to the same data source, but with different layout and add them to the Reports collection of the ReportBook.

    Greetings,
    Steve
    the Telerik team

    HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

  3. DevCraft banner
  4. Aho
    Aho avatar
    21 posts
    Member since:
    Oct 2009

    Posted 23 Nov 2012 Link to this post

    Thanks for the answer. Is it possible to Serialize a Reportbook including the Reports and Deserialize them when required?
  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 23 Nov 2012 Link to this post

    Hi,

    Yes, you can serialize the ReportBook class as well, but currently you would always work with report instances as the ReportBook does not yet handle report sources.

    Regards,
    Steve
    the Telerik team

    HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

  6. Jennifer
    Jennifer avatar
    16 posts
    Member since:
    Aug 2012

    Posted 31 Aug in reply to Steve Link to this post

    Steve, I am seeing if I can do a report book in Report Designer R2 2016.  I do not see a report book in the sample files and do not have the option of using Visual Studio.  Is this possible?
  7. Stef
    Admin
    Stef avatar
    3050 posts

    Posted 31 Aug Link to this post

    Hello Jennifer,

    A Telerik.Reporting.ReportBook can be created only in code, there is no UI. Please feel free to log a feature request for having an option to generate a ReportBook through the available Report Designers. Features are considered for implementation based on the demand for them

    Please check the ReportBook demo in the local examples, installed by default under C:\Program Files (x86)\Telerik\Reporting <VERSION>\Examples. The code can be extended to load a TRDP|TRDX file produced by the Standalone Report Designer and to unpackage|deserialize it, in order to get a Telerik.Reporting.Report object that can be added in the ReportBook.Reports collection.


    On a side note, my colleague informed me about your call and that the question is related to an issue with page numbers. Before proceeding with the ReportBook, please elaborate on the issue. You can open a support ticket allowing us to exchange ZIP files with demo reports and examples privately.

    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
DevCraft banner