Display progress bar or loading message while report is being generated

We have a report that accept a parameter using a form. When the user enters the parameter and clicks OK how can we display a progress bar or even a message to let the user know the report is processing?

Comments

  • No any solution for this requirement?

  • You can enable ProgressBar with:

    FastReport.Utils.Config.ReportSettings.ShowProgress = true;

    But by default its value is already true.


  • In Version=2022.2.17.0 this config disappeared

  • Hello!

    To display a progress bar or loading window whilst a long report is being generated in WinForms (FastReport.Net):

    Set FastReport.Utils.Config.ReportSettings.ShowProgress = true (enabled by default; when exporting manually, also check that pdfExport.ShowProgress = true).

    Note the Config.ReportSettings.StartProgress, Progress and FinishProgress events: by subscribing to them, you can display your own custom WinForms/WPF ProgressBar or splash screen instead of the standard dialogue box.

    If you are using FastReport.Core / FastReport.Core.Skia / FastReport.OpenSource (without the WinForms UI), there is no built-in progress window; in this case, use your own StartProgress / Progress / FinishProgress events to update the UI.

This discussion has been closed.