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

November 26, 2024

Installing FastReport on .NET 8.0 and Creating a Simple Report

The purpose of this article is to explain step by step how to install FastReport on .NET 8.0 and how to create a simple report. Taking the reporting process from the beginning, it will show how to connect, design and view reports.
November 20, 2024

Localization and Language Switching in FastReport VCL

FastReport VCL supports 40 languages for interface localization and allows you to change the language on the fly through menus or code, without recompilation.
November 01, 2024

New Features of the FastReport VCL Editor

We are considering new features of the report editor: extension lines, highlighting of intersecting objects, updated report and data trees.
Fast Reports
  • 800-985-8986 (English, US)
  • +4930568373928 (German)
  • +55 19 98147-8148 (Portuguese)
  • info@fast-report.com
  • 66 Canal Center Plaza, Ste 505, Alexandria, VA 22314

© 1998-2024 Fast Reports Inc.