Online Designer Save Diaglog

Stimulsoft Reports.JS discussion
Post Reply
erendvc
Posts: 1
Joined: Thu Apr 03, 2025 1:46 pm

Online Designer Save Diaglog

Post 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!
Lech Kulikowski
Posts: 7332
Joined: Tue Mar 20, 2018 5:34 am

Re: Online Designer Save Diaglog

Post by Lech Kulikowski »

Hello,

What version are you use?

Could you send us a sample project for analysis?

Thank you.
Post Reply