none
Window Stoped until Reporviewer finish Refresh (By BackgroundWorker) RRS feed

  • Question

  • RelatorioBindingSource.Clear();
                    RelatorioBindingSource.DataSource = listaRel;
                    this.reportViewer1.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Local;
                    this.reportViewer1.LocalReport.ReportEmbeddedResource = dataReport;
                    this.reportViewer1.LocalReport.DisplayName = nomeRelatorio;
                    this.reportViewer1.Invoke((MethodInvoker)(() => this.reportViewer1.RefreshReport()));

    My application window have counters and it's updated every time after serial data receive..... when user click on button to view report, the main window stop until reporviewer finish your refresh process...

    Im try to use a backgroundworker, but has no effect.

    Friday, December 11, 2015 12:56 PM