logo
small logo
  • Producto
  • Comprar
  • Ayuda
  • Blogs
  • Consola de usarios Ayuda
    • en
    • pt
    • es
    • de
    • pl
    • JP
    • ZH
  • Página principal
  • /
  • Blogs
  • /
  • Subscribing on save events in FastReport Online Designer
  • Cómo utilizar las fuentes de usuario en FastReport Online Designer

    20 de diciembre de 2021

    Una versión reciente de FastReport Online Designer ha dado la posibilidad de anexar cualquier

    read more
  • How to update FastReport Online Designer to the latest version

    31 de mayo de 2022

    Starting with version 2021.4.5 FastReport Online Designer is switched to new licensing. You can

    read more
  • Cómo actualizar el informe web FastReport.Core

    21 de septiembre de 2020

    A veces es necesario actualizar el informe, por ejemplo, si ingresa un nuevo valor de

    read more
  • Uso de mapas interactivos en FastReport VCL 2021

    30 de abril de 2021

    Este es el artículo final de los cursos del programa educativo Akademik. En las

    read more
  • La ejecución de aplicación con FastReport .NET en Docker para Linux

    17 de noviembre de 2021

    Docker es una plataforma para un desarrollo rápido, una prueba y una implementación de aplicaciones.

    read more

Subscribing on save events in FastReport Online Designer

14 de marzo 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 descargar comprar
avatar
Maxim Karpinskiy
Web Development
Fast Reports Team: Maxim Karpinskiy - Web Development at Fast Reports
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
  • Descargar
  • Documentación
  • Opiniones de usuarios
  • Cómo desinstalar nuestros productos
  • Enviar mensaje
  • FAQ
  • Toturial en vídeo
  • Foro
  • Documentación técnica
  • Nuestras noticias
  • Quiénes somos
  • Socios
  • Extended licensing
  • Contactos

© 1998-2022 by Fast Reports Inc.

  • Privacidad