ActiveReports Developer 7
Breaking Changes
See Also Support Forum
ActiveReports Developer 7 > ActiveReports Developer Guide > Upgrading Reports > Breaking Changes

Glossary Item Box

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

Control Changes

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 Developer 7.

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 7 Web Service, or manually by copying it from C:\Program Files (x86)\Common Files\ComponentOne\ActiveReports Developer 7.

The Viewer control no longer has Annotations turned on by default. To enable Annotations, set the AnnotationToolbarVisible property of the Viewer control to True.

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

Classes in Different Namespaces

Some classes have moved to different namespaces from previous versions of ActiveReports. Drop down the table below to see some of the most commonly used classes that are in new namespaces.

ShowClasses that are in new namespaces

Class Name New Namespace Former Namespace
Report GrapeCity.ActiveReports.PageReportModel DataDynamics.Reports.ReportObjectModel
SectionReport
(formerly ActiveReport)
GrapeCity.ActiveReports DataDynamics.ActiveReports
PageReport
(formerly ReportDefinition)
GrapeCity.ActiveReports DataDynamics.Reports
SectionDocument
(formerly Document)
GrapeCity.ActiveReports.Document DataDynamics.ActiveReports.Document
SystemPrinter GrapeCity.ActiveReports DataDynamics.ActiveReports.Interop
Printer GrapeCity.ActiveReports.Extensibility.Printing DataDynamics.ActiveReports.Document
Exports
HtmlExport GrapeCity.ActiveReports.Export.Html.Section DataDynamics.ActiveReports.Export.Html
PdfExport GrapeCity.ActiveReports.Export.Pdf.Section DataDynamics.ActiveReports.Export.Pdf
PdfSignature GrapeCity.ActiveReports.Export.Pdf.Section.Signing DataDynamics.ActiveReports.Export.Pdf.Signing
PdfStamp GrapeCity.ActiveReports.Export.Pdf.Section.Signing DataDynamics.ActiveReports.Export.Pdf.Signing
RtfExport GrapeCity.ActiveReports.Export.Word.Section DataDynamics.ActiveReports.Export.Rtf
TextExport GrapeCity.ActiveReports.Export.Xml.Section DataDynamics.ActiveReports.Export.Text
TiffExport GrapeCity.ActiveReports.Export.Image.Tiff.Section DataDynamics.ActiveReports.Export.Tiff
XlsExport GrapeCity.ActiveReports.Export.Excel.Section DataDynamics.ActiveReports.Export.Xls
ImageRenderingExtension GrapeCity.ActiveReports.Export.Image.Page DataDynamics.Reports.Rendering.Graphics
HtmlRenderingExtension GrapeCity.ActiveReports.Export.Html.Page DataDynamics.Reports.Rendering.Html
PdfRenderingExtension GrapeCity.ActiveReports.Export.Pdf.Page DataDynamics.Reports.Rendering.Pdf
XmlRenderingExtension GrapeCity.ActiveReports.Export.Xml.Page DataDynamics.Reports.Rendering.Xml
WordRenderingExtension GrapeCity.ActiveReports.Export.Word.Page DataDynamics.Reports.Rendering.Word
ExcelTransformationDevice GrapeCity.ActiveReports.Export.Excel.Page DataDynamics.Reports.Rendering.Excel
Report Controls
All section report controls GrapeCity.ActiveReports.SectionReportModel DataDynamics.ActiveReports
All page report controls GrapeCity.ActiveReports.PageReportModel DataDynamics.Reports.ReportObjectModel

Namespace Changes and Restructuring

Some of the changes that are not caught by the upgrade tool may cause some issues with 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.

ShowActiveReports6 is now GrapeCity.ActiveReports.v7

  • ActiveReport class is now called SectionReport.
  • BarWidth property is now called NarrowBarWidth.
ActiveReports 6 Namespace ActiveReports Developer 7 Namespace
DataDynamics.ActiveReports
  • GrapeCity.ActiveReports
  • GrapeCity.ActiveReports.SectionReportModel
  • GrapeCity.ActiveReports.Data
DataDynamics.ActiveReports.DataSources GrapeCity.ActiveReports.Data
DataDynamics.ActiveReports.Interop GrapeCity.ActiveReports
DataDynamics.ActiveReports.Options GrapeCity.ActiveReports.SectionReportModel

ShowActiveReports.Chart is now GrapeCity.ActiveReports.Chart.v7

ActiveReports 6 Namespace ActiveReports Developer 7 Namespace
DataDynamics.ActiveReports.Chart GrapeCity.ActiveReports.Chart
DataDynamics.ActiveReports.Chart.Annotations GrapeCity.ActiveReports.Chart.Annotations
DataDynamics.ActiveReports.Chart.Graphics GrapeCity.ActiveReports.Chart.Graphics

ShowActiveReports.Design6 is now GrapeCity.ActiveReports.Design.Win.v7

The Report property is now an Object that gets or sets a GrapeCity.ActiveReports.Document.SectionDocument or GrapeCity.ActiveReports.Document.PageDocument.

ActiveReports 6 Namespace ActiveReports Developer 7 Namespace
DataDynamics.ActiveReports.Design GrapeCity.ActiveReports.Design
DataDynamics.ActiveReports.Design.ReportExplorer GrapeCity.ActiveReports.ReportExplorer
DataDynamics.ActiveReports.Design.Toolbox GrapeCity.ActiveReports.Design.Toolbox

ShowActiveReports.Document is now GrapeCity.ActiveReports.Document.v7

The Document class is now called SectionDocument.

ActiveReports 6 Namespace ActiveReports Developer 7 Namespace
DataDynamics.ActiveReports GrapeCity.ActiveReports
DataDynamics.ActiveReports.Document
  • GrapeCity.ActiveReports.Document
  • GrapeCity.ActiveReports.Document.Section
  • GrapeCity.ActiveReports.Extensibility.Printing(GrapeCity.ActiveReports.Extensibility.v7)
DataDynamics.ActiveReports.Export GrapeCity.ActiveReports.Export
DataDynamics.ActiveReports.Export.Html GrapeCity.ActiveReports.Export.Html
DataDynamics.ActiveReports.Document.Annotations GrapeCity.ActiveReports.Document.Section.Annotations

ShowActiveReports.HtmlExport is now GrapeCity.ActiveReports.Export.Html.v7

ActiveReports 6 Namespace ActiveReports Developer 7 Namespace
DataDynamics.ActiveReports.Export.Html GrapeCity.ActiveReports.Export.Html.Section

ShowActiveReports.PdfExport is now GrapeCity.ActiveReports.Export.Pdf.v7

ActiveReports 6 Namespace ActiveReports Developer 7 Namespace
DataDynamics.ActiveReports.Export.Pdf GrapeCity.ActiveReports.Export.Pdf.Section
DataDynamics.ActiveReports.Export.Pdf.Signing GrapeCity.ActiveReports.Export.Pdf.Section.Signing

ShowActiveReports.RtfExport is now GrapeCity.ActiveReports.Export.Word.v7

ActiveReports 6 Namespace ActiveReports Developer 7 Namespace
DataDynamics.ActiveReports.Export.Rtf GrapeCity.ActiveReports.Export.Word.Section

ShowActiveReports.Silverlight is now GrapeCity.ActiveReports.Viewer.Silverlight.v7

ActiveReports 6 Namespace ActiveReports Developer 7 Namespace
DataDynamics.ActiveReports GrapeCity.ActiveReports

ShowActiveReports.TextExport is now GrapeCity.ActiveReports.Export.Xml.v7

ActiveReports 6 Namespace ActiveReports Developer 7 Namespace
DataDynamics.ActiveReports.Export.Text GrapeCity.ActiveReports.Export.Xml.Section

ShowActiveReports.TiffExport is now GrapeCity.ActiveReports.Export.Image.v7

ActiveReports 6 Namespace ActiveReports Developer 7 Namespace
DataDynamics.ActiveReportsExport.Tiff GrapeCity.ActiveReports.Export.Image.Tiff.Section

ShowActiveReports.Viewer6 is now GrapeCity.ActiveReports.Viewer.Win.v7

  • The History class is now an interface, IHistoryApi, that resides in the GrapeCity.Viewer.Common namespace.
  • The SearchResultsForeColor property now gets applied as the border around the searched text.
  • The TargetView enumeration now has two enumeration values (Primary and Secondary). 
ActiveReports 6 Namespace ActiveReports Developer 7 Namespace
DataDynamics.ActiveReports.Toolbar The viewer now uses Visual Studio ToolStrips. Please see MSDN ToolStrip Class for more information.
DataDynamics.ActiveReports.Viewer
  • GrapeCity.ActiveReports.Viewer.Win
  • GrapeCity.Viewer.Common
Note: GrapeCity.ActiveReports.Viewer.Win.v7.dll does not get added automatically to the project references when the report layout is added. You need to either add the Viewer control or manually add the reference to this assembly.

ShowActiveReports.Web is now GrapeCity.ActiveReports.Web.v7

The Report property is now an Object that gets or sets a SectionDocument or ReportDocument.

ActiveReports 6 Namespace ActiveReports Developer 7 Namespace
DataDynamics.ActiveReports.Web GrapeCity.ActiveReports.Web
DataDynamics.ActiveReports.Web.Controls GrapeCity.ActiveReports.Web.Controls
DataDynamics.ActiveReports.Web.ExportOptions GrapeCity.ActiveReports.Web.ExportOptions
DataDynamics.ActiveReports.Web.Handlers GrapeCity.ActiveReports.Web.Handlers

ShowActiveReports.XlsExport is now GrapeCity.ActiveReports.Export.Excel.v7

ActiveReports 6 Namespace ActiveReports Developer 7 Namespace
DataDynamics.ActiveReports.Export.Xls GrapeCity.ActiveReports.Export.Excel.Section
DataDynamics.SpreadBuilder GrapeCity.SpreadBuilder
DataDynamics.SpreadBuilder.Cells GrapeCity.SpreadBuilder.Cells
DataDynamics.SpreadBuilder.Imaging GrapeCity.SpreadBuilder.Imaging
DataDynamics.SpreadBuilder.Printing GrapeCity.SpreadBuilder.Printing
DataDynamics.SpreadBuilder.Style GrapeCity.SpreadBuilder.Style

See Also

©2014. ComponentOne, a division of GrapeCity. All rights reserved.