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:


Product Ñame

Quantity Per Unit

Units in Stock


Chartreuse verte

750 cc per bottle




24 - 12 oz bottles



Guaraná Fantástica

12-355 ml cans



Sasquatch Ale

24 - 12 oz bottles


tJií XI

Steeleye Stout

24-12 oz bottles




10 boxes's 20 ■:■:.<



Cote de Blaye

12-75 cl bottles







0 0

Post a comment