Subscribe on save events in FastReport Online Designer

2017-03-14

In case you need to do some actions on client side after saving the report like show some beautiful dialog from your code or do redirect to the other page you can use following techniques.

1) you can use the following code:

1
2
3
4
5
6
7
8
const eventName = 'save_success';
 
window.addEventListener('message', e => { 
 if (e.data === eventName) { 
 // here is your code. It could be something like showSuccessDialog(); 
 } 
}, false); 
 

where eventName can also be:

save_begin - will be executed when user starts saving the report but before sending request to the server

save_failure - will be executed in case the request failed and report was not saved.

 

2) Another possibility to do some actions on save events is to set URL option in config section during building your online designer:

save success redirect

12. August 2024

Erstellen und Installieren des Postgres-Plugins in FastReport .NET

In diesem Artikel wird beschrieben, wie Sie mit dem FastReport .NET-Plugin für den Berichtsdesigner aus Visual Studio über den NuGet-Server eine Verbindung zur Datenbank herstellen.
8. August 2024

Installation von FastReport .NET und ihren Komponenten unter Windows

Schritt für Schritt Anleitung zur Online- und manuellen Installation über den Registrierungscode FastReport .NET und seine Komponenten in Windows.
26. Juli 2024

Aktualisierung von HTMLObject als Plugin für FastReport .NET

Ausführliche Anleitung zur Verwendung des neuen HTMLObject-Plugins, das die Aufteilung des HTML-Doms in FastReport-Berichtsobjekte verwendet.
Fast Reports
  • 800-985-8986 (Englisch, die USA)
  • +4930568373928 (Deutsch)
  • +55 19 98147-8148 (Portugiesisch)
  • info@fast-report.com
  • 901 N Pitt Str #325 Alexandria VA 22314

© 1998-2024 Fast Reports Inc.