I am using the MVC version of the Dot Net Report Builder. I am able to configure dotnetreport and run a test report, but if I click on Export to PDF I get a javascript error – unexpected token export. Looking at the javascript console error it seems to be originating from bootstrap/popper.
Advertisement
Answer
Thanks for pointing this out, this is because popper.js needs to be included from /umd folder instead of the root folder.
This is fixed in the latest nuget package for dotnetreport now. You can either update your nuget package or just change the reference to popper.js in the layout file to /umd/popper.js.