Hello,
Asp.Net Core 3.0 application with Stimulsoft.Reports.Web.NetCore 2019.4.1
The callback to ViewerEvents from StiNetCoreViewer component appears to me to have reversed the action and controller in the URL.
The Initial get from the browser is to "/Reports/index" and seems to work fine.
The generated Javascript then initiates a GET to:
"/ViewerEvent/Reports?stiweb_compone...".
It looks to me like it should be:
"/Reports/ViewerEvent?stiweb_compone....".
Might I have something mis-configured?
Thank you.
Controller and Action reversed on ViewerEvent callback
-
- Posts: 6245
- Joined: Tue Mar 20, 2018 5:34 am
Re: Controller and Action reversed on ViewerEvent callback
Hello,
The full supporting of the NET Core 3.0 will be available in the next release build.
Thank you.
The full supporting of the NET Core 3.0 will be available in the next release build.
Thank you.
Re: Controller and Action reversed on ViewerEvent callback
Hi
I was able to workaround this by setting the RouteTemplate
Regards Joakim
I was able to workaround this by setting the RouteTemplate
Code: Select all
@Html.StiNetCoreViewer(new StiNetCoreViewerOptions()
{
Server =
{
RouteTemplate = "/Viewer/{action}"
},
Actions =
{
GetReport = "GetReport",
ViewerEvent = "ViewerEvent"
}
});
-
- Posts: 6245
- Joined: Tue Mar 20, 2018 5:34 am
Re: Controller and Action reversed on ViewerEvent callback
Hello,
Thank you for the information.
Thank you for the information.