ActiveReports 13
WebViewer Pro
ActiveReports 13 > ActiveReports User Guide > Samples and Walkthroughs > Samples > Web > WebViewer Pro

The Active Reports Web Pro Sample describes the standard ActiveReports web features as well as other features available in the Professional Edition only, such as HTTP handlers, custom PDF and HTML export, parameterized reports, and more.

Note: Before running this sample, in the Solution Explorer, click the Licenses.licx file and then, from the Build menu, select Build Runtime License. Please see To license Web Forms projects made on the trial version for details.

Sample Location

Visual Basic.NET

<User Folder>\GrapeCity Samples\ActiveReports 13\Web\WebViewerPro\VB.NET

C#

<User Folder>\GrapeCity Samples\ActiveReports 13\Web\WebViewerPro\C#

Details

When you run the sample, the Default.aspx page appears in your browser. This page provides links to other sample pages that demonstrate the following web features.

WebControl for ASP.NET: This link opens the WebControl.aspx page that allows you to select any of the three Viewer Types and it also allows you to select from Section, Page and RDL Report Type.

The three Viewer Types that are available are as follows:

HTTPHandlers: This link opens the HttpHandlers.aspx page with the http handler examples.

Custom Exporting PDF Example: This link opens the Invoice report in the PDF Reader by exporting it to memory stream and then outputting it in the browser.

Custom Exporting HTML Example: This link opens the NWindLabels report. This report is outputted to the ReportOutput folder by using the MyCustomHtmlOutputter class and the exported HTML is displayed in the browser.

Parameterized Report Example: This link opens the page that demonstrates how to generate a report by passing a parameter to the report.

Note: To run this sample, you must have access to the Nwind.mdb. A copy is located at [User Documents folder]\GrapeCity Samples\ActiveReports 13\Data\NWIND.mdb. If you are unable to access the data files in the sample, create the Data folder and place all the data files to this folder, or change the reference path to the data files within the folder according to your environment.

The project contains the following elements:

See Also

Getting Started