Run JavaScript before redirect to other page
<p>I try to open a popup window with JavaScript before redirecting to another page. </p>

<p>I've written this code:</p>

<pre><code>ScriptManager.RegisterStartupScript(this.Page, typeof(Page), "abc", "window.open('http://yahoo.com','2','resizable=yes,directories= no,menubar=no,top=null,left=00, width=100,height=100')", true);
Response.Redirect(p.Url);
</code></pre>

<p>but it is only a redirect and a popup does not open. </p>

<p>How do I open a popup window before the user user redirects to another page? </p>
