I follow this post to setup report designer: https://docs.telerik.com/reporting/web-report-designer-setup-in-dot-net-framework
- Create a WebApi project.
- Add references to Telerik.Reporting.dll, Telerik.Reporting.Services.WebApi.dll, Telerik.WebReportDesigner.Services.dll (they are in C:\Program Files (x86)\Progress\Telerik Reporting R1 2021\Bin)
- Register routes in Global.asax
- Create controller that inherit ReportDesignerControllerBase
- Create view to display report designer
The error I got is the REST service have invalid routes. So when the view request for api/reportdesigner/resources/js/telerikReportViewer it return 404 error.
When I go to Help section of the WebApi project, I see the route table for the report controller is like this (see attachment)
Do anyone know why does this happen and how I can fix?
Thanks in advance!