We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon
If you became a customer of the Syncfusion Reporting Platform or the Report Viewer, Report Designer, or Report Writer components before October 2019 and have questions related to those products, you can request support through our forum system. However, please note that this support system is only for existing customers who are still using the Syncfusion Reporting Platform or its components and not for new customers looking for reporting products from Syncfusion.

For new customers or those with general reporting questions, we recommend contacting our support team at https://support.boldreports.com/, which is a separate brand created by Syncfusion for its reporting solutions. Our team will be happy to assist you with any questions you may have.

Thank you for choosing Syncfusion for your reporting needs.

Bold Report Not working in Blazor Winforms

Good Day

I have a blazor app that uses Bold Reporting. The report works in the Web App but when I run the same report in the WinForms blazor I get the following error - There is no content at api/BoldReportsAPI/PostReportAction

Do you have an example or any suggestions - I used the bold reports with the boldreports-interop.js implementation.

Thank You


3 Replies

AM Arumugasami Murugesan Syncfusion Team November 14, 2022 02:15 PM UTC

Hi Alvin,


Thanks for contacting Bold Report support.


Please use the below online demo reportServiceUrl and reportPath in your sample and confirm whether the report viewer runs at your end or not. And also, is it possible to share your issue reproducible sample to validate further?


reportServiceUrl: https://demos.boldreports.com/services/api/ReportViewer,

reportPath:'~/Resources/docs/sales-order-detail.rdl'

 


You can refer the below documentation.

https://help.boldreports.com/embedded-reporting/blazor-reporting/report-viewer/add-report-viewer-to-a-blazor-application/

https://help.boldreports.com/embedded-reporting/javascript-reporting/report-viewer/display-ssrs-rdl-report-in-javascript-application/


Regards,

Arumugasami M



AL Alvin November 14, 2022 09:13 PM UTC

Hi 

Thanks for the reply. This is a Blazor hybrid project. The report viewer is working and showing the report when I run the Blazor web app. The problem comes when I try to run the same Blazor project in Desktop(WinForms). The reportviewer shows but I get the below message. Check image

reporterr.JPG

This is the line of code where the problem comes in, it does not run the javascript in the blazor Desktop(WinForms)  app only in the blazor web app- 

await JSRuntime.InvokeVoidAsync("BoldReports.RenderViewer", "report-viewer", viewerOptions);


Please let me know if you have any ideas or a blazor hybrid example with Bold Reports






AM Arumugasami Murugesan Syncfusion Team November 16, 2022 02:28 PM UTC

We have prepared the sample application in Blazor WinForms application for your referenceTo use the report viewer WinForms, you need to build the service application. The service must be an ASP.NET core or ASP.NET MVC application. Please find the sample link below

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlazorWinForms1991598182.zip


You can refer the below documentation.

https://help.boldreports.com/embedded-reporting/aspnet-core-reporting/report-viewer/display-ssrs-rdl-report-in-asp-net-core-application/

https://help.boldreports.com/embedded-reporting/blazor-reporting/report-viewer/add-report-viewer-to-a-blazor-application/


Note: If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.


Loader.
Live Chat Icon For mobile
Up arrow icon