You can add an ActiveReport to a project without using the Visual Studio toolbox, but in order to use the Viewer control, any of the exports, the Designer and related controls, or the WebViewer control, you need to have them in your toolbox.
The installer generally adds the controls to the Visual Studio toolbox in an ActiveReports 10 tab. However, if they are removed for any reason, you can re-add them at any time.
To add the controls
- Right-click the Visual Studio toolbox tab where you want to add ActiveReports controls and select Choose Items.
- In the Choose Toolbox Items window that appears, on the .NET Framework Components tab, in the Filter textbox, enter GrapeCity.ActiveReports.
- Select the check boxes next to any of the controls that you want to add to your toolbox:
- Viewer
- WebViewer
- Designer
- ReportExplorer
- Toolbox
|
- HtmlExport
- PdfExport
- RtfExport
- TextExport
- TiffExport
- XlsExport
|
- For the Silverlight Viewer control, go to the Silverlight Components tab and select Viewer.
- Click OK to add the controls to the selected toolbox tab.
.NET Framework Version
The following features all require the .NET Framework full profile version.
- Designer control
- WebViewer control
- HTMLExport
- Oracle data provider
- Calendar control
- Sparkline or Bullet control
- Native Functions (Interop64)
To ensure that you are using the full profile version in a VB project
- From the Visual Studio Project menu, select YourProject Properties.
- On the Compile tab, click the Advanced Compile Options button.
- In the Advanced Compiler Settings dialog that appears, drop down the Target framework field and select a version that does not specify Client Profile.
To ensure that you are using the full profile version in a C# project
- From the Visual Studio Project menu, select YourProject Properties.
- On the Application tab, drop down the Target framework field and select a version that does not specify Client Profile.
Caution: ActiveReports controls may not appear in the toolbox unless your project is using .NET 3.5 or later.
See Also