StiDesigner.LoadedReport vs. OpenRecentFileInDesigner Event

Stimulsoft Reports.NET discussion
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: StiDesigner.LoadedReport vs. OpenRecentFileInDesigner Ev

Post 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.
petrdivis
Posts: 19
Joined: Thu Mar 23, 2017 7:05 am

Re: StiDesigner.LoadedReport vs. OpenRecentFileInDesigner Ev

Post 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
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: StiDesigner.LoadedReport vs. OpenRecentFileInDesigner Ev

Post by Alex K. »

Hello,

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

Thank you.
Post Reply