title: Call web form method from another class
body: <p>Here is the scenario: I have a WCF service that sends a message to web interface. </p>
  
  <p>I receive it in WCF interface implementation class. I want to display the message on another web form. </p>
  
  <p>I tried to create a static method in web form and called it from WCF Service method. But the problem is that static methods can't access controls on the web form. I am really confused. Please give some ideas. Here is some code for your reference:</p>
  
  <h2>WCF Method</h2>
  
  <pre><code>public void ReceiveDownloadFileStatus(Int32 bytesDownloaded)
  {    
     UploadForm.SetDownloadProgress(bytesDownloaded);
  }
  </code></pre>
  
  <h2>Static Method in UploadForm.aspx</h2>
  
  <pre><code>public static void SetDownloadProgress(Int32 bytesDownloaded)
  {
      //access progress bar on form and update it from here
  
  } 
  </code></pre>