Page 2 of 2

Re: StiDesigner.LoadedReport vs. OpenRecentFileInDesigner Ev

Posted: Wed Jun 14, 2017 10:04 am
by HighAley
Hello.

Sorry, we were wrong. We have checked the LoadedReportInDesigner global event. Please, handle it.

Code: Select all

Stimulsoft.Report.StiOptions.Engine.GlobalEvents.LoadedReportInDesigner += GlobalEvents_LoadedReportInDesigner;
You could get the report file name there

Code: Select all

((Stimulsoft.Report.Design.StiDesignerControl)sender).ReportFileName
Thank you.

Re: StiDesigner.LoadedReport vs. OpenRecentFileInDesigner Ev

Posted: Wed Jun 14, 2017 11:41 am
by petrdivis
Hi,

still does not change a thing. It is of type System.EventHandler which does not have property in EventArgs "Processed" as the OpenRecentFileInDesigner does (type StiOpenRecentFileObjectEventHandler with StiOpenRecentFileObjectEventArgs).

I also have tried LoadingReportInDesigner, it has event args with Processed property, but it is invoked before openidng the Browse dialog.

Just admit that you have incomplete API and fix it ;-)

Cheers

Petr

Re: StiDesigner.LoadedReport vs. OpenRecentFileInDesigner Ev

Posted: Wed Jun 21, 2017 10:06 am
by Alex K.
Hello,

We are working on the issue. We will reply to you fast as possible.

Thank you.