Page 1 of 1

Subreport-Eventhandler always null in Designer on Preview

Posted: Wed Feb 03, 2021 9:26 am
by chu
Hello.
We use SubReports and use the StiReport.GetSubReport delegate to register a Handler for Loading the Subreports.
Works perfectly fine when using report.Render();

However, when we use the designer (started via report.Design()) and show the Preview,
inspecting "StiReport.OnGetSubReport" shows that this.GetSubReport is always null. Somehow the assigned StiGetSubReportEventHandler is lost when starting the Designer. The SubReports are therefore not loaded and the preview shows empty pages.
I hear from my colleagues that this used to work sometime in earlier versions.

Thank you and greetings.

Re: Subreport-Eventhandler always null in Designer on Preview

Posted: Fri Feb 05, 2021 2:24 pm
by Lech Kulikowski
Hello,

Please send us a sample that reproduces the issue for analysis.

Thank you.