Where are the code-based section report samples now!?

Posted by: peter on 18 September 2023, 4:57 am EST

    • Post Options:
    • Link

    Posted 18 September 2023, 4:57 am EST

    I finally have a chance to upgrade my ASP.NET / Angular system from .NET Framework 4.6.2 to .NET 6.0, and thus from ActiveReports 13 to ActiveReports 17 (which is supposed to have .NET 6.0 and cross platform support throughout).

    These are highly complex reports that draw on the page (to produce process diagrams), and basically rewrite the entire layout dynamically at runtime - the RDL style section reports can’t even come close to this in terms of functionality. So I need to migrate the current designs.

    But none of the samples provided cover code based section reports. They only cover RDL style examples? I know from the effort required in 2019 to port from the old HTML viewer that the Code based reports require different handling, and I was able to get a sample from Support at that time that allowed me to migrate everything from ASP.NET MVC to the new ASP.NET JS viewer.

    I need a similar example now to show me how to migrate my ActiveReports 13 ASP.NET MVC/jsviewer code to v17. Thanks.

  • Posted 19 September 2023, 3:04 pm EST

    Hi Peter,

    To use the code-based section report in JS Viewer, you can pass the object of the Section Report class as report by configuring the UseCustomStore configuration in the Middleware.

    Also, for designing Code-Based Section Report in Visual Studio in a .Net Core environment please refer the following link to know more about Designing Code-based Section Reports in .NET Core:

    Note: When using File Converter to upgrade the reports from ActiveReports 13 to ActiveReports 17, it does all the necessary conversions may it be Code-based report or XML-based report. Although, you must check for the breaking changes while migrating as they might impact your code.

    • Check the following link for ActiveReports 17 Breaking Changes:

    https://www.grapecity.com/activereportsnet/docs/latest/online/breaking-changes.html

    • Check the following link for Web Viewer Migration:

    https://www.grapecity.com/activereportsnet/docs/latest/online/web-viewer-migration.html

    • Check the following link to know about Migrating to .NET Core 3.1/.NET 5/.NET 6/.NET 7:

    https://www.grapecity.com/activereportsnet/docs/latest/online/migrate-to-netcore.html

    Please refer to the following link to check GrapeCity WebSamples: https://github.com/activereports/WebSamples17/tree/main

    JSViewerCoreMVCApplicationSample.zip

  • Posted 19 September 2023, 11:59 pm EST - Updated 20 September 2023, 7:25 am EST

    Thanks, I will go over this, and do an initial attempt at updating my reports.

    One initial criticism, which applied to the v13 samples too - your code based report sample is TOO SIMPLE. It doesn’t illustrate how to send parameters to the report server side (an issue I struggled with last time)

    Please note - the samples links provided are good - but these are totally separate from the std Samples links in the v17 documentation/installs, and the repositories seem to be very badly named - even if I found the top level code repository, I would not have pegged that repository to hold the sample code I needed, as its named the same as the official v17 samples, which must be elsewhere in GitHub.

  • Posted 20 September 2023, 8:47 pm EST

    Hi Peter,

    We understand your concern but the web samples provided demonstrate web-related features in JSViewer, Web Designer, etc. They give a basic overview of using these ActiveReports components. To get detailed information about designing reports, please refer to our official documentation. If you have any specific use-case that you want to implement, please share that with us so that we can provide you with a sample for the same.

    Please check the following link to find a systematic and folder-wise walkthrough of samples. A brief overview of each sample is provided here, along with their GitHub links:

    https://www.grapecity.com/activereportsnet/docs/latest/online/web-samples.html

    Also, please note that in ActiveReports 13, the samples were available at [User Documents folder]\GrapeCity Samples\ActiveReports 13 and now on GitHub as well whereas in ActiveReports 17, they are only available at GitHub.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels