Open any url in popup and redirect current page in ASP.net without any button click on page load
<p>When someone opens my webpage I would like a popup to open, and then I would like the main page (not the popup) to redirect to another website.</p>

<p>I have tried:</p>

<pre><code>ClientScript.RegisterStartupScript(
    this.GetType(),
    "popup",
    "&lt;script language=javascript&gt;window.open('http://someURL.com','PrintMe','height=650px,width=1024px,scrollbars=1');&lt;/script&gt;");           
</code></pre>

<p>followed by</p>

<pre><code>Response.Redirect("http://www.google.com");
</code></pre>

<p>While the redirection is working properly, the popup is not being displayed.</p>