Custom code not running in viewer

Stimulsoft Reports.NET discussion
Post Reply
semaphore
Posts: 19
Joined: Fri Jul 24, 2020 12:53 pm

Custom code not running in viewer

Post by semaphore »

Good Day,

I have designed my report, exported it to .NET Core MVC project, inspected the report file and can see my custom code within the MRT file. However when the report is run in the viewer, the fields that have the custom code functions assigned render blank.

The report renders fine in the designer (windows app).

Please advise.

Edit: It seemas as-if the .NET core version of the report with custom code does not work/execute, I tried the ASP.NET MVC project and the code executes as expected, is there any way to get this to function as expected in the .NET core version of the project?
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Custom code not running in viewer

Post by Lech Kulikowski »

Hello,

In the NET Core version is available only Interpretation mode in which events are not supported.

As a way, you can save a report as .cs class and add it in your project, in that case, events will work.

Thank you.
Post Reply