Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1090
STAThread
posted

Hi, using ReportViewer on a WinForm I'm getting this exception:

The calling thread must be STA, because many UI components require this.

on the call to:

this.ultraReportViewer1 = new Infragistics.Win.UltraWinReportViewer.UltraReportViewer();

Parents
  • 48586
    posted

    Hello ,

     

    Are you using background worker in your application or some other threads or your data or report is generated in a background thread  ? How exactly ReportViewer is added to your form ? Is it possible to provide us a simple sample that demonstrate this issue.

     

    I am waiting for your feedback.

     

Reply Children