Archive for March, 2009

h1

Telerik Reporting: Report with subreports and chart binded from ObjectdataSource

March 15, 2009

 

Following examaple  demonstrates easy report with subreports  (Master- Detail report). One of subreport contains chart. All repoerts are binded from one ObjectDataSource. And finally,  whole report is converted into the PDF file.  I dindn’t have a lot of time to investigate telerik reporting, but I am a bit disappointed, becouse 

  • I don’t know how to create charts without explicit binding of Chart-SeriesItems.
  • I have to handled ItemDataBinding or NeedDatasource events for binding subreports.
  • When I was creating Master-detail report, than I obtained  report with blank pages. There is solution.  I solved it in my sample too.

So, wipe it off and come up to example.  Following picture shows my test report.  Report is binded from class that contains few fielads and two lists.

reporting

And there is source code

Links