logo
small logo
  • Products
  • Buy
  • Support
  • Articles
  • Customer panel Support
    • en
    • pt
    • es
    • de
    • pl
    • JP
    • ZH
  • Home
  • /
  • Articles
  • /
  • Subscribing on save events in FastReport Online Designer
  • How to use Online Designer in ASP .NET Core

    January 17, 2018

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

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

    June 30, 2019

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

    read more
  • Working with custom fonts in FastReport Online Designer

    December 20, 2021

    In the recent release of FastReport Online Designer, it became possible to add any

    read more
  • How to install and use FastReport FMX 2.8 for FmxLinux

    January 25, 2021

    Recently we've released FastReport FMX 2.8 which includes support of FMXLinux framework. In this article I'd

    read more
  • How to install FastReport Business Graphics .NET

    August 18, 2021

    This article shows how to install FastReport Business Graphics .NET on your computer and how

    read more

Subscribing on save events in FastReport Online Designer

March 14, 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 buy
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
  • Buy
  • Download
  • Documentation
  • Testimonials
  • How to uninstall
  • Ticket system
  • FAQ
  • Tutorial Video
  • Forum
  • Articles
  • Our News
  • Press about us
  • Resellers
  • Contact us

© 1998-2022 by Fast Reports Inc.

  • Privacy Policy