I need to intercept a few events to integrate your tool in my application, but I cannot find a proper documentation anywhere. Maybe you can point out some places i didn't see yet.
I need to intercept the event that would be generated when the user choose the "New report" feature and the new document is displayed.
I would also need a property to check is a report has been modified in any way by the user.
I need all this because I need to load and save the report in a DB, so I am trying to find a way to redefine the load and save command, can you give me some more info of where to look for.
Thank you.
Stéphane
More info about events ?
-
- Posts: 2
- Joined: Fri Aug 14, 2009 2:41 pm
More info about events ?
Hello Stéphane,
http://stimulsoft.com/Documentation.aspx
StiOptions.Engine.GlobalEvents.CreatingReportInDesigner
StiOptions.Engine.GlobalEvents.CreatedReportInDesigner
For example:
Thank you.
You can get some documentation at:I need to intercept a few events to integrate your tool in my application, but I cannot find a proper documentation anywhere. Maybe you can point out some places i didn't see yet.
http://stimulsoft.com/Documentation.aspx
You can use following static events:I need to intercept the event that would be generated when the user choose the "New report" feature and the new document is displayed.
StiOptions.Engine.GlobalEvents.CreatingReportInDesigner
StiOptions.Engine.GlobalEvents.CreatedReportInDesigner
Please use IsModified property of report.I would also need a property to check is a report has been modified in any way by the user.
You can use following static events:I need all this because I need to load and save the report in a DB, so I am trying to find a way to redefine the load and save command, can you give me some more info of where to look for.
Code: Select all
Stimulsoft.Report.Design.StiDesigner.SavedReport
Stimulsoft.Report.Design.StiDesigner.SavingReport
Stimulsoft.Report.Design.StiDesigner.LoadedReport
Stimulsoft.Report.Design.StiDesigner.LoadingReport
Code: Select all
StiOptions.Engine.GlobalEvents.SavingReportInDesigner += new StiSavingObjectEventHandler(GlobalEvents_SavingReportInDesigner);
private void GlobalEvents_SavingReportInDesigner(object sender, StiSavingObjectEventArgs e)
{
}