Property Events can't be loaded, edited nor saved

Stimulsoft Reports.JS discussion
PoiSoNz
Posts: 6
Joined: Thu Oct 15, 2020 11:25 am

Re: Property Events can't be loaded, edited nor saved

Post by PoiSoNz »

Hello,

I've tried setting a report's Begin Render event with the code you provided and it didn't work, as you can see in the attached gif.
report_event_bug.gif
report_event_bug.gif (1.37 MiB) Viewed 603 times
I also tried with

Code: Select all

Shape1.brush = new Stimulsoft.Base.Drawing.StiSolidBrush();
and it didn't work.

I'll just assume that events can't be used in the JS version.

Thank you for all your help.
Lech Kulikowski
Posts: 6266
Joined: Tue Mar 20, 2018 5:34 am

Re: Property Events can't be loaded, edited nor saved

Post by Lech Kulikowski »

Hello,

Please check:
Shape1.brush = new Stimulsoft.Base.Drawing.StiSolidBrush(Stimulsoft.System.Drawing.ColorTranslator.fromHtml(sampleData.getData("color")));

Thank you.
Post Reply