ActiveReports 8
Breaking Changes
Show AllShow All
Hide AllHide All

When you upgrade reports from previous versions of ActiveReports or Data Dynamics Reports, there are several breaking changes.

Note: There are no breaking changes from ActiveReports 7 to ActiveReports 8.

Control Changes from Previous ActiveReports Versions to ActiveReports 8

The OleObject control is now hidden by default in the toolbox for Section reports. To show this control in Visual Studio, open the GrapeCity.ActiveReports.config file and change the EnableOleObject value to true, and include this file with your application. You can find this file in a path like the following. C:\Program Files (x86)\ComponentOne\ActiveReports 8.

To show the OleObject control in the Designer control in your own end users designer applications, select the Designer control and, in the Properties window, change the EnableOleObject property to True.

The WebViewer control is now AJAX-based, and requires ActiveReports.ReportService.asmx to be in the root of the Web site or Web application. This is added automatically when you drop a WebViewer control on a Web form, or you can add it from the Add New Item dialog by selecting ActiveReports 8 Web Service, or manually by copying it from C:\Program Files (x86)\Common Files\ComponentOne\ActiveReports 8. ExceptionOccurring, QueuingReport, ReportCreating and ReportDisposing events are no longer available in WebViewer class.

The Viewer control no longer has Annotations turned on by default. To enable Annotations, set the AnnotationToolbarVisible property of the Viewer control to TrueDataDynamics.ActiveReports.Viewer.ReportViewer.MultiplePageMode property is now integrated into ViewType property of Viewer class. Viewer.ReportViewer.PaperColor property has been removed. Viewer.PageOffset property's type has been changed from Integer to System.Drawing.Point.

The Toolbar is now a Windows ToolStrip. Please see the MSDN ToolStrip Class for more information.

Classes in Different Namespaces

In ActiveReports 8, some classes have been moved to different namespaces from previous versions of ActiveReports and Data Dynamics Reports. Drop down the table below to see some of the most commonly used classes that are in new namespaces.

Classes that are in new namespaces

Namespace Changes and Restructuring

Some of the changes that are not picked up by the upgrade tool may cause some issues in your code. The two most frequently encountered changes are:

These are all of the assemblies and namespaces that have changed, with any major changes noted.

ActiveReports is now GrapeCity.ActiveReports.v8

ActiveReports.Chart is now GrapeCity.ActiveReports.Chart.v8

ActiveReports.Design is now GrapeCity.ActiveReports.Design.Win.v8

ActiveReports.Document is now GrapeCity.ActiveReports.Document.v8

ActiveReports.HtmlExport is now GrapeCity.ActiveReports.Export.Html.v8

ActiveReports.PdfExport is now GrapeCity.ActiveReports.Export.Pdf.v8

ActiveReports.RtfExport is now GrapeCity.ActiveReports.Export.Word.v8

ActiveReports.Silverlight is now GrapeCity.ActiveReports.Viewer.Silverlight.v8

ActiveReports.TextExport is now GrapeCity.ActiveReports.Export.Xml.v8

ActiveReports.TiffExport is now GrapeCity.ActiveReports.Export.Image.v8

ActiveReports.Viewer is now GrapeCity.ActiveReports.Viewer.Win.v8

ActiveReports.Web is now GrapeCity.ActiveReports.Web.v8

ActiveReports.XlsExport is now GrapeCity.ActiveReports.Export.Excel.v8

See Also
Support Forum