logo
small logo
  • Products
  • Comprar
  • Suporte
  • Articles
  • Forgot password?
    • en
    • ru
    • pt
    • es
    • JP
    • ZH
  • Home
  • /
  • Articles
  • /
  • Subscribing on save events in FastReport Online Designer
  • How to use Online Designer with FastReport.Core library in React .Net Core application

    29 de abril de 2019

    Many FastReport.Core users are interested in how the report generator will work in a web

    read more
  • How to use Online Designer with FR.Core in a single-page Vue.js application

    29 de junho de 2019

    In that article, we will look at the way to display the online report designer

    read more
  • How to use Online Designer in a knockout.js application

    30 de junho de 2019

    The knockout.js library was quite popular among web developers before the appearance of angular. Despite

    read more
  • How to use Online Designer in ASP .Net Core

    17 de janeiro de 2018

    One of the novelties by FastReport .Net 2018 was the adaptation of OnlineDesigner to the

    read more
  • How to set a picture in a report from the user application code

    8 de janeiro de 2020

    Quite often there is a need to set various images in the report depending on

    read more

Subscribing on save events in FastReport Online Designer

14 de março de 2017

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

about product download comprar
avatar
Maxim Karpinskiy
FastReport Online Designer

Add comment
logo
  • 800-985-8986 (English, US)
  • +4930568373928 (German)
  • +55 19 98147-8148 (Portuguese)
  • info@fast-report.com
  • 901 N Pitt Str #325 Alexandria VA 22314
  • Comprar
  • Download
  • Documentação
  • Depoimentos
  • Como desinstalar nossos produtos
  • Ticket system
  • FAQ
  • Tutorial Video
  • Forum
  • Articles
  • Our News
  • Informação sobre nós
  • Parceiros
  • Nossa equipe
  • Contatos

© 1998-2021 by Fast Reports Inc.

  • Privacidade