title: WebBrowser control does not complete loading when javascript:void(0) called
body: <p>I have an application in C# which uses a <code>WebBrowser</code> control. </p>
  
  <p>On one page the user can click a button to process some information and navigate to a new page. The issue is that when the user clicks this button the <code>WebBrowser</code> just seems to stop.</p>
  
  <p>I handle the <code>Navigating</code>, <code>Navigated</code> and <code>DocumentCompleted</code> events in my code and I see the <code>Navigating</code> event but then nothing else. </p>
  
  <p>This is the HTML for the button being clicked:</p>
  
  <pre><code>&lt;div class="right button-wrapper"&gt;
      &lt;div class="clearfix right"&gt;
          &lt;span id="nextbutton" 
                class="button-link button-link btn-reg btn-blue-reg"&gt;
              &lt;span class="hasHover"&gt;&lt;a id="btnPay" 
                  href="javascript:void(0);" class="buttons"&gt;Next:Pay and Print&lt;/a&gt;
              &lt;/span&gt;
           &lt;/span&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Buttons on other pages can be clicked with no issues.</p>
  
  <p>I am assuming it has something to do with the <code>href="javascript:void(0);"</code> portion of the HTML but do not know why. In a browser such as IE or Firefox when this button is clicked something like a progress bar appears and say "Processing" for a few seconds and then the next page loads.</p>
  
  <p><strong>EDIT</strong>:I should mention that the Navigating handler fires twice and then the page freezes.</p>