title: Open page in a new tab from C#
body: <p>Does anybody know how to open an URL in a new tab from C# code?
  I have tried with </p>
  
  <pre><code>Response.Write("&lt;script type='text/javascript'&gt;window.location.href('../Documents/doc.pdf','_blank'); &lt;/script&gt;");
  
  
  Response.Write("&lt;script type='text/javascript'&gt;window.open('../Documents/doc.pdf','_blank'); &lt;/script&gt;");
  
  Response.Write("$('#pageContent_Send').click();");
  </code></pre>
  
  <p>with</p>
  
  <pre><code>$("#pageContent_Send").click(function () {
          window.open("../Documents/doc.pdf");
          return false;
      });
  </code></pre>
  
  <p>and it did not work, using "window.open" I get an "Pop-up Blocker" browser warning.</p>