Do not show confirmation dialog box save button on designer

Stimulsoft Reports.JS discussion
Post Reply
felipemoreira
Posts: 38
Joined: Wed Mar 30, 2016 1:52 pm
Location: Brazil

Do not show confirmation dialog box save button on designer

Post by felipemoreira »

Hi.

When i click on save button, at report in designer mode (File menu > Save), the confirmation dialog box to save the report appears, so my code inside onSaveReport event is only executed if a click on Ok on this dialog.

Is there any way to not show this dialog and fall straight in the onSaveReport event ? I need this because we will save the report to database and this dialog does not serve us for nothing, only disrupts.


Thanks!
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Do not show confirmation dialog box save button on desig

Post by Vladimir »

Hello,

The save dialog of the report is displayed only once for the created a new report, the next time the save name is stored.
If not, please try upgrading to the latest version.

Also you can use the option to disable this dialog:

Code: Select all

var options = new Stimulsoft.Designer.StiDesignerOptions();
options.appearance.showSaveDialog = false;
Thank you.
felipemoreira
Posts: 38
Joined: Wed Mar 30, 2016 1:52 pm
Location: Brazil

Re: Do not show confirmation dialog box save button on desig

Post by felipemoreira »

Thanks Vladimir!
Worked as expected.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Do not show confirmation dialog box save button on desig

Post by HighAley »

Hello.

We are always glad to help you.
Let us know if you need our help.

Thank you.
Post Reply