The calling thread cannot access this object because a different thread owns it.


On your do work

  private void worker_DoWork(object sender, DoWorkEventArgs e)  
     {  
       this.Dispatcher.Invoke((Action) (() =>  
       {  
         // Your code  
       }));  
     }  


Popular posts from this blog

WPF Crystal Report Viewer Using SAP

mvc razor textboxfor change event change another textboxfor value

ASP.NET MVC razor SAP Crystal report