Walkthrough Web Viewer Control

The ActiveReports WebViewer control allows you to easily publish simple reports to the web for viewing in the browser. The client machine will not require ActiveReports or ASP.NET to be installed. The WebViewer also takes advantage of a report queuing technology to ensure the reports are executed and outputted efficiently. To use the WebViewer you will select an ActiveReport using the Report property of the WebViewer in the property list and set the ViewerType property to the viewer of your choice. Alternatively, you can set the Report property programmatically to a new instance of an ActiveReport class.

This walkthrough is split up into the following activities:

• Adding an ActiveReport to an ASP.NET Web application

• Connecting the report to a data source

• Adding controls to the report to contain data

• Adding the ActiveReports WebViewer control to the Web Form

To complete the walkthrough, you must have access to the NorthWind database (NWind.mdb). You must also have access to Internet Information Services either from your computer or from the server. You must also run the "Configure Web Sample" option from the Data Dynamics ActiveReports for .NET program menu from your Windows Start button.

When you have completed this walkthrough, you will have a report that looks similar to the following.

H Sí GoTo: 1

of 3 jSj Find:

A

Product Ñame

Quantity Per Unit

Units in Stock

IblUmtPrice

Chartreuse verte

750 cc per bottle

69

$18.00

Chang

24 - 12 oz bottles

17

$19.00

Guaraná Fantástica

12-355 ml cans

20

$4.50

Sasquatch Ale

24 - 12 oz bottles

111

tJií XI

Steeleye Stout

24-12 oz bottles

20.

$18.00

Chai

10 boxes's 20 ■:■:.<

$18.00

bags

Cote de Blaye

12-75 cl bottles

17

$263.50

Hnc

17

$46.00

V

0 0

Post a comment