ActiveReports 18 .NET Edition
In This Topic
    Samples
    In This Topic

    The ActiveReports 18 samples are available on GitHub. These samples are categorized under two folders - Samples and WebSamples, and further based on features.

    Samples

    Sample Description
    Advanced   Page and RDLX reports
    Calendar This sample demonstrates using Calendar data region in reports.
    Custom Chart This sample demonstrates using custom report item - Radar chart in a report.
    Custom data Provider This sample demonstrates how to create a project using custom data provider and how to pull data from a comma separated value (CSV) file.
    Custom Pdf Export This sample demonstrates exporting reports to PDF format using third-party assemblies.
    Custom Resource Locator This sample showcases a custom implementation of the resource locator to load pictures from the user's "My Pictures" directory.
    Custom Tile Provider This sample demonstrates how to create a custom tile provider.
    Oracle Data Provider This sample illustrates using Oracle Data Provider as data source for designing Page/RDLX reports.
    Section Reports
    Custom Drill Through This sample demonstrates using hyperlinks and the viewer hyperlink event to simulate drill-down from one report to another.
    Custom Word Export This sample demonstrates exporting Section Report to Word format using third-party assemblies.
     API Page and RDLX reports
    Create Report This sample demonstrates how to create a Page Report layout in code. It further shows creating a table control, adding table rows and table columns inside it, adding cells inside the table rows and columns and adding text boxes inside the cells.
    Digital Signature Pro This sample demonstrates how to add digital signatures when exporting to PDF format.
    Export This sample demonstrates how to export Page and RDLX reports to different export formats.
    FontResolver This sample demonstrates implementing custom fonts.
    Layers This sample demonstrates how to use Layers in a report.
    Report Wizard This sample demonstrates how to create a custom Report Wizard that allows you to select a report from the list of multiple reports and then allows you to select the data that you want to display in the selected report.
    Stylesheets This sample demonstrates how to work with embedded and external style sheets in Page and RDLX reports.
    Section Reports
    Charting This sample demonstrates chart types used in different scenarios, in both bound and unbound modes.
    Cross Section Controls This sample demonstrates the use of the cross section lines and boxes.
    Cross Tab Report This sample demonstrates using unbound data, conditional highlighting and distributing data across columns to create a cross-tab view and data aggregation.
    Custom Annotation This sample demonstrates adding the Custom Annotation button to the report Viewer toolbar and adding a new annotation to the report.
    Digital Signature Pro This sample demonstrates adding the Custom Annotation button to the report Viewer toolbar and adding a new annotation to the report.
    Export This sample demonstrates how to export to different export formats using code.
    Inheritance This sample demonstrates using the method that inherits a report at run time and design time.
    Print Multiple Pages per Sheet This sample demonstrates printing a document with multiple pages per sheet by using the common PrintDocument class of the NET.Framework.
    Style Sheets This sample demonstrates changing styles at run time to provide a different look to a same report.
    Sub Report This sample demonstrates using subreports in an ActiveReports report.
    Summary This sample demonstrates how to display summarized data in a Section Report.
    Data Binding  Page and RDLX reports
    CSV Data Source This sample demonstrates how to connect to a CSV data source.
    DataSet DataSource This sample demonstrates how to use a dataset as a data source for a report.
    Json Data Source This sample demonstrates how to use the Json data provider at run time and add a web service for authentication.
    Object Data Source This sample demonstrates how to use Object provider for binding a report.
    OData Data Source This sample demonstrates how to use OData EndPoint for binding a report.
    OleDb Data Source This sample demonstrates how to connect to an OleDb data source at run time and pass data to the report using LocateDataSource event.
    Xml Data Source This sample demonstrates how to connect to a XML data source at run time and pass data to the report using LocateDataSource event.
    Section Reports
    Bound Data This sample demonstrates binding to ADO.NET Data objects.
    IList Binding This sample demonstrates creating a custom collection that stores data from the database in the List. The custom collection is displayed by binding data to the DataGridView control by using the DataSource property of this control.
    LINQ This sample demonstrates how to use LINQ in an ActiveReports report.
    Unbound Data This sample demonstrates how to create a dataset for a Section Report and use the FetchData event to populate the Fields collection to display the report unbound data.
    XML This sample demonstrates how to create a report with XML data, using a SubReport or using the XML hierarchical structure.
    Designer Pro Map This sample demonstrates how to work with Map control in ActiveReports.
    End User Designer This sample demonstrates a custom end-user report designer that can be integrated in your applications to allow users to modify report layouts.
    FlatEndUserDesigner This sample demonstrates building the designer using DesignerForm class.
    Reports Gallery This sample demonstrates customizing End User Designer application to display a list of categorized reports.
    Table of Contents This sample demonstrates how to use TableofContents control in ActiveReports.
    Desktop WPF Viewer This sample demonstrates using WPF Viewer in a WPF application.
    Win Viewer This sample demonstrates using Win Viewer in a Windows Form application.
    Web Custom Preview The sample demonstrates exporting an ActiveReports report to the HTML or PDF format in your Web application. 

    Web Samples

    Sample Description
    WebDesigner Samples
    Blazor Designer The samples on Blazor Designer demonstrate the use of ActiveReports Blazor Designer with Server application, WebAssembly application, and remote report service.
    WebDesigner MVC(Core) This sample demonstrates WebDesigner with an ASP.NET MVC Core back end.
    WebDesigner Angular(Core) This sample demonstrates the ActiveReports WebDesigner with an Angular 8 app and ASP.NET Core back end.
    WebDesigner Blazor This sample demonstrates the ActiveReports WebDesigner with Blazor framework.
    WebDesigner Custom Data Providers The sample demonstrates the method to use custom data providers (such as SQLite and OData) for supplying data to the report in the ActiveReports WebDesigner.
    WebDesigner Custom Store The sample demonstrates the use of custom resources service for ActiveReports WebDesigner with an ASP.NET Core back end.
    JSViewer Samples
    BlazorViewer The samples on Blazor Viewer demonstrate the use of ActiveReports Blazor Viewer with Server application, WebAssembly application, and remote report service.
    JSViewer Angular(Core) This sample demonstrates the use of the ActiveReports JSViewer with an Angular 8 app and ASP.NET Core back end.
    JSViewer CORS This sample demonstrates the use of ActiveReports JSViewer with an ASP.NET MVC 5 back end when the server is hosted elsewhere using CORS.
    JSViewer MVC CORS(Core) This sample demonstrates the use of ActiveReports JSViewer with an ASP.NET MVC 5 Core back end when the server is hosted elsewhere using CORS.
    JSViewer MVC This sample demonstrates the use of ActiveReports JSViewer with an ASP.NET MVC 5 back end.
    JSViewer MVC(Core) This sample demonstrates the use of ActiveReports JSViewer with an ASP.NET MVC Core back end.
    JSViewer React(Core) This sample demonstrates the use of ActiveReports JSViewer with an ReactJS app and ASP.NET Core back end.
    JSViewer Vue(Core) This sample demonstrates the use of ActiveReports JSViewer with an VueJS app and ASP.NET Core back end.
    WebViewer ASP.NET This sample demonstrates the ActiveReports web control feature and generating a parameterized report.

    Silent Print

     

    The SilentPrint sample project consists of three samples - JSViewerBatchPrint_MVC_Core, JSViewerSilentPrint_MVC_Core, and PrintAgent. 

    The JSViewerBatchPrint_MVC_Core sample demonstrates how to print many reports by clicking the Print button,
    without showing the Print Preview dialog for every report. Silent printing is implemented through a print agent that needs to be started.

    The JSViewerSilentPrint_MVC_Core sample demonstrates how to print a report by clicking once the JSViewer Print button, without showing the Print Preview dialog. Silent printing is implemented through a print agent that needs to be started.

    The PrintAgent sample contains a Windows service, hosting an ASP.NET Core API that allows printing PDF files. The
    print agent uses the GrapeCity.Documents.Pdf library.