How-To: Use ReportBook in ASP.NET

11 posts, 0 answers
  1. Mohammed
    Mohammed avatar
    87 posts
    Member since:
    Aug 2011

    Posted 04 Mar 2013 Link to this post

    Hi team,
    I want to create a report book in my ASP.NET project.
    I don't see a report book control in the reporting tool box .
    Regards,
    Mohammed
  2. Squall
    Squall avatar
    174 posts
    Member since:
    Feb 2011

    Posted 05 Mar 2013 Link to this post

    The control is removed. Instead create it in code:
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
             var reportBook = new ReportBook();
             reportBook.Reports.Add(new GlossaryReport());
             reportBook.Reports.Add(new IndexReport());
      
             var reportSource = new InstanceReportSource();
             reportSource.ReportDocument = reportBook;
      
             reportViewer.ReportSource = reportSource;
        }
    }

  3. DevCraft banner
  4. Mohammed
    Mohammed avatar
    87 posts
    Member since:
    Aug 2011

    Posted 05 Mar 2013 Link to this post

    Thanks Squall,
    I hope the team can update the online documentation please.
    Regards,
    Mohammed
  5. Stef
    Admin
    Stef avatar
    3053 posts

    Posted 08 Mar 2013 Link to this post

    Hello Mohammed,

    You can find more details about the ReportBook in our online help under the Report Book category, including details on how to use it and code snippets. You may also review our sample report called ReportBook which is deployed with your installation. By default that example should have been placed under C:\Program Files (x86)\Telerik\Reporting Q1 2013\Examples\CSharp\ReportLibrary\ReportBook

    Let us know if you have any other concerns.

    Regards,
    Stef
    the Telerik team

    Telerik Reporting Q1 2013 available for download with impressive new visualizations. Download today from your account.

  6. Mohammed
    Mohammed avatar
    87 posts
    Member since:
    Aug 2011

    Posted 08 Mar 2013 Link to this post

    thanks very much guys,
    now i'm familiar with the report book but my problem now with the graph because there is no documentation for it.
    is it a replacement for the chart control or what is the different between both of them.
    Regards,
    Mohammed
  7. Stef
    Admin
    Stef avatar
    3053 posts

    Posted 13 Mar 2013 Link to this post

    Hi Mohammed,

    As I have said in our other forum discussion, the Graph item is still in BETA and the documentation is coming in pieces. The basic part of the Graph API reference can be found in our online help, the rest will be easier to be tested with our Standalone Designer or the provided Visual Studio Graph Wizard in specific scenarios.

    The Graph item represents the new charting engine we introduce in Q1 2013 so they both with the Chart item will coexist - they are not interchangeable for the moment. What makes the Graph item better is that it unifies the work with charts, and you will notice that changing coordinate system, chart type, styling and other data presentation adjustments are easier.

    Let us know if you have a specific use case for the graph item, which you need help with.

    All the best,
    Stef
    the Telerik team

    Telerik Reporting Q1 2013 available for download with impressive new visualizations. Download today from your account.

  8. Mohammed
    Mohammed avatar
    87 posts
    Member since:
    Aug 2011

    Posted 13 Mar 2013 Link to this post

    Thanks Stef for providing more details, that what i was looking for.
    actually my task now is to have drill through column chart.
    I saw the comparison between the old and the new chart but still the Interactivity not supported.
    is there any plan soon to support this important feature ?
    Regards,
    Mohammed
  9. Stef
    Admin
    Stef avatar
    3053 posts

    Posted 14 Mar 2013 Link to this post

    Hi Mohammed,

    We are already working on it and we are expecting this functionality to be available for the new Graph item in Q2 2013.

    Kind regards,
    Stef
    the Telerik team

    Telerik Reporting Q1 2013 available for download with impressive new visualizations. Download today from your account.

  10. Madhuri k. chaube
    Madhuri  k. chaube avatar
    8 posts
    Member since:
    Mar 2014

    Posted 19 Mar 2014 Link to this post

    Hello
    I want to add report Book in my report but control report book is disable......and i tried some code to add but it gives me an error at bold Line Below...How Could I resolve It

    if (!IsPostBack)
            {

                var reportBook = new ReportBook();
                var reportSource = new InstanceReportSource();
                reportBook.Reports .Add (new Telerik .Reporting .ReportItem );

                reportSource.ReportDocument = reportBook;
                ReportViewer1.ReportSource = reportSource;

            }
  11. Hinata
    Hinata avatar
    146 posts
    Member since:
    Dec 2013

    Posted 21 Mar 2014 in reply to Madhuri k. chaube Link to this post

    Hello Madhuri,

    The bold line doesn't seem correct. The report book expects a report object there, but you are adding a Telerik.Reporting.ReportItem which is a different thing.
    Here you can find more info on how to use the report book: http://www.telerik.com/forums/create-report-with-title-page#GY4EevA960er3_rDk3hFUw
  12. BHk
    BHk avatar
    3 posts
    Member since:
    Dec 2014

    Posted 05 Feb Link to this post

    Hi  Telerink Team,

    i am using ReportBook control..i want reportbook in datatable record..How is possible?

    i exceute sql query..but report binding in some problem fatch..please give prefer solution.

     Regards,

    BHk

Back to Top
DevCraft banner