Call LocalReport.Render in the background thread

I have been working with the Winforms ReportViewer control for some time. I added a custom toolbar and process all report functions manually.

My problem is with very large reports. To display my reports in Image (which I use for printing), I call the ReportViewer.LocalReport.Render method. Large reports end up freezing the user interface for quite some time.

My plan is to โ€œpre-extractโ€ rendered images when requesting a report. I am trying to do this in a background thread. All that I tried leads to the fact that the user interface does not respond during a call to Render.

Is there anything in the Render call that will lead to a thread (which has nothing to do with the UI thread) to somehow block the UI thread?

+4
source share
1 answer

It's impossible.

The Render method will never let run as a thread.

+2
source

All Articles