O'Reilly logo

ASP.NET Developer's JumpStart by Ken Getz, Paul D. Sheriff

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Viewing the Report

Before you can display the report from within an ASP.NET application, you'll need to embed the CrystalReportViewer control on a page. In this section, you'll learn to use the control and then to view the page you've created.

Creating a Report Viewer Page

Follow these steps to set up the CrystalReportViewer control on a page to display your report:

1.
Use the Project, Add Web Form menu item to add a new page. Name the page ProductsReport.aspx.
2.
Set the PageLayout property for this new page to flowLayout.
3.
In the Toolbox window, double-click the CrystalReportViewer control to add an instance to your new page.
4.
Set the new control's ID property to cvwProducts and its DisplayGroupTree property to False.

TIP

The viewer ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required