Disable designer save as dialog when click on X

Stimulsoft Reports.NET discussion
Post Reply
codemonkey
Posts: 12
Joined: Fri Jan 17, 2020 3:02 pm

Disable designer save as dialog when click on X

Post by codemonkey »

Hello!

I load the designer controls into a panel in my form and disabled lots of not needed gui elements but i can´t figure out how to disable the "Want to save the changes in *.mrt?" messagebox when clicking on the top right X.
Loading and Saving is completely handled by my application because reports are stored in a sql database including additional information like how to fill the variables.

Thank you for your help in advance!
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Disable designer save as dialog when click on X

Post by HighAley »

Hello.

You could disable this dialog using the StiOptions.Designer.DontAskSaveReport option.
Just set this option to True.

Thank you.
codemonkey
Posts: 12
Joined: Fri Jan 17, 2020 3:02 pm

Re: Disable designer save as dialog when click on X

Post by codemonkey »

Perfect!
Thank you!
Lech Kulikowski
Posts: 6254
Joined: Tue Mar 20, 2018 5:34 am

Re: Disable designer save as dialog when click on X

Post by Lech Kulikowski »

Hello

We are always glad to help you!
Please let us know if you need any additional help.

Thank you.
Post Reply