Save and Open Buttons Not Working

Posted by: elijah on 8 June 2021, 8:08 am EST

  • Posted 8 June 2021, 8:08 am EST

    I have just recently started to implement ActiveReports into our existing .Net Core Web Application which also utilizes AspNetZero and am having trouble with the Web Designer.

    The designer successfully renders to the screen, and you can do certain things, such as drag a shape onto the canvas, change the colors, etc. However, the save button is not working. When clicked, it does not do anything. The same is true for the “Save As” button and the “Open” button.

    I have installed ActiveReports, and the NPM packages mentioned in the documentation: https://www.grapecity.com/activereportsnet/docs/v15/online/available-packages.html

    Additionally, I have installed the GrapeCity.ActiveReports.Aspnetcore.Designer and GrapeCity.ActiveReports.Aspnetcore.Viewer NuGet packages. Both are version 15.1.3.

    Currently my .cshtml file for the designer, has been directly copied from the documentation as shown here: https://www.grapecity.com/activereportsnet/docs/v15/online/pure-js-integration-wd.html

    In my Startup.cs file I have defined the root directory as follows:

    private static readonly DirectoryInfo ResourcesRootDirectory = new DirectoryInfo(Path.Combine(Directory.GetCurrentDirectory(), "Resources" + Path.DirectorySeparatorChar));
    

    In the Configure Services function, I have added the services:

    services .AddReporting().AddDesigner()
    

    And in the Configure function I have:

    app.UseReporting(config => config.UseFileStore(ResourcesRootDirectory));
    app.UseDesigner(config => config.UseFileStore(ResourcesRootDirectory, false));
    
  • Posted 9 June 2021, 5:04 am EST

    Hello,

    We have replied on the other case. Please revert to that case only to avoid confusion.

    Thanks,

    Mohit

Need extra support?

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

Learn More

Forum Channels