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

How-To: Use ReportBook in ASP.NET

10 Answers 356 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mohammed
Top achievements
Rank 2
Mohammed asked on 04 Mar 2013, 07:15 PM
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

10 Answers, 1 is accepted

Sort by
0
Squall
Top achievements
Rank 1
answered on 05 Mar 2013, 03:35 PM
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;
    }
}

0
Mohammed
Top achievements
Rank 2
answered on 05 Mar 2013, 03:45 PM
Thanks Squall,
I hope the team can update the online documentation please.
Regards,
Mohammed
0
Stef
Telerik team
answered on 08 Mar 2013, 01:52 PM
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.

0
Mohammed
Top achievements
Rank 2
answered on 08 Mar 2013, 01:56 PM
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
0
Stef
Telerik team
answered on 13 Mar 2013, 11:56 AM
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.

0
Mohammed
Top achievements
Rank 2
answered on 13 Mar 2013, 12:19 PM
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
0
Stef
Telerik team
answered on 14 Mar 2013, 09:29 AM
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.

0
Madhuri k. chaube
Top achievements
Rank 2
answered on 19 Mar 2014, 11:45 AM
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;

        }
0
Hinata
Top achievements
Rank 1
answered on 21 Mar 2014, 04:57 PM
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
0
BHk
Top achievements
Rank 1
answered on 05 Feb 2016, 11:40 AM

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

Tags
General Discussions
Asked by
Mohammed
Top achievements
Rank 2
Answers by
Squall
Top achievements
Rank 1
Mohammed
Top achievements
Rank 2
Stef
Telerik team
Madhuri k. chaube
Top achievements
Rank 2
Hinata
Top achievements
Rank 1
BHk
Top achievements
Rank 1
Share this question
or