14.5. Displaying Reports in the Application

It is time to return to your application and make use of the reports you created. For this, you need only three things:

  • To create a reference in your application to the reports project to gain access to the reports.

  • To have a report viewer in your web page or Silverlight application. Just drag the ReportViewer component from Visual Studio's Toolbox onto the web page or XAML page.

  • To define the report you want to display in the viewer. You can do this either by selecting it from the report viewer's Report property in the Properties window or by programmatically creating an instance of the report class and assigning it to the Report property of the viewer.

14.5.1. Using the Web Report Viewer

The use of ...

Get Pro Telerik ASP.NET and Silverlight Controls: Master Telerik Controls for Advanced ASP.NET and Silverlight Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.