Page 1 of 1

save by StiDesignerControl

Posted: Sat Sep 10, 2016 10:31 am
by mahsan
Hello Stimulsoft team,
I used a StiDesignerControl in my windows form and it works greate.So I can open stimulsoft report or create new stimulsoft report,but I have a problem on saving report,I need to do something on saving event,for example I want to set deafult path to save report or ....but I cant find the event which is related to save .plaese help me to solve my problem.
I am waiting eagerly to your response.

Re: save by StiDesignerControl

Posted: Sat Sep 10, 2016 12:47 pm
by Alex K.
Hello,

Please try to use the following event:
StiOptions.Engine.GlobalEvents.ReportSaving

Thank you.

Re: save by StiDesignerControl

Posted: Sun Sep 11, 2016 4:29 am
by mahsan
Thank you for the reply
the event that you said works good, but is it a global event ? if I have 2 StiDesignerControl in different winforms it set that event for both of them?
I use this event in my form but when I make new instance of the form this event will occure repeatedly by the number of instances.

Re: save by StiDesignerControl

Posted: Mon Sep 12, 2016 7:12 am
by HighAley
Hello.

Yes, this is a global event. If you need to solve this issue, please, send a request to support@stimulsoft.com and we will try to find a solution for you.

Thank you.