Prompt To Save Changes On Exit

Stimulsoft Reports.WEB discussion
steve3squared
Posts: 40
Joined: Tue Mar 04, 2014 5:37 pm

Prompt To Save Changes On Exit

Post by steve3squared »

Hey,

Is there a way to prompt confirmation of saving changes on exit in StiMobileDesigner?

Cheers
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Prompt To Save Changes On Exit

Post by HighAley »

Hello.

We are working on this confirmation and will add it soon.
We will let you know when it will be available.

Thank you.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Prompt To Save Changes On Exit

Post by HighAley »

Hello.

We have made an improvement.
The confirmation message will be shown in our next prerelease build which will be available on June 13.

Thank you.
steve3squared
Posts: 40
Joined: Tue Mar 04, 2014 5:37 pm

Re: Prompt To Save Changes On Exit

Post by steve3squared »

Good news, thankyou
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Prompt To Save Changes On Exit

Post by HighAley »

Hello.

Let us know if you need any additional help.

Thank you.
steve3squared
Posts: 40
Joined: Tue Mar 04, 2014 5:37 pm

Re: Prompt To Save Changes On Exit

Post by steve3squared »

Hey Aleksey

I've setup the latest pre-release in my project, but cant seem to find the option to prompt for saving. The change log doesnt mention it either. Am I missing something?

Regards
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Prompt To Save Changes On Exit

Post by HighAley »

Hello.

Could you specify which browser do you use?
Here is a confirmation message on closing tab in Chrome browser.
confirm.png
confirm.png (43.74 KiB) Viewed 2681 times
Thank you.
steve3squared
Posts: 40
Joined: Tue Mar 04, 2014 5:37 pm

Re: Prompt To Save Changes On Exit

Post by steve3squared »

Hey Aleksey,

Looks like its my code thats caused the problem. I run the report designer in a popup window and the only way I could make the window close was to use a jquery script.
I had attach a click event to the exit button.

I've fixed it with the following code

$(document).ready(function () {
$("#ReportDesignerControlmessageFormButtonYes").click(ExitDesignerButtonClicked);
});
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Prompt To Save Changes On Exit

Post by HighAley »

Hello.

Great!
Let us know if you need any additional help.

Thank you.
steve3squared
Posts: 40
Joined: Tue Mar 04, 2014 5:37 pm

Re: Prompt To Save Changes On Exit

Post by steve3squared »

I've had some testing results come in today.

The testing was done on a iMac and there seems to be a few problems

Safari: Does not prompt user to Save on exit (e.g after adding / changing a field)
Firefox: Does prompt save correctly
Chrome: Does not open Stimulsoft at all

This all works on a Windows OS with IE, Chrome and Firefox.
Post Reply