Page 1 of 1

Online Designer Save Diaglog

Posted: Thu Apr 03, 2025 1:49 pm
by erendvc
Hi,
I'm using the stimulsoft-reports-js-react Designer component in a React project. I’ve implemented a custom save logic using the onSaveReport callback to save reports directly to a remote server via API.

However, even though the report is successfully saved remotely, the browser’s save/download dialog still appears after saving, which I want to prevent completely.

Here’s what I’ve tried:

Setting event.preventDefault() and event.stopPropagation() inside onSaveReport

Returning false at the end of the callback

Setting designerOptions.saveMode = Stimulsoft.Designer.StiSaveMode.Custom

None of these fully stopped the save dialog from opening.

Expected behavior:
Only the custom save logic should run and no browser download or dialog should appear after saving.

How can I completely suppress the save/download dialog when using a custom save handler?

Thanks in advance!

Re: Online Designer Save Diaglog

Posted: Fri Apr 04, 2025 9:36 am
by Lech Kulikowski
Hello,

What version are you use?

Could you send us a sample project for analysis?

Thank you.