flickering of popup window
<p>below is my code which closes popup window on page load also i want to show the user a message box plz login well my popup window gets close but it flickers on the screen is there any way to prevent to do that. </p>

<pre><code>StringBuilder sb = new StringBuilder();
sb.Append("&lt;script&gt;");

sb.Append("window.close();");

sb.Append("&lt;/script");

Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "test", sb.ToString(), false);

MessageBox.Show("Please Sign In first...", "Login Message", MessageBoxButtons.OK, MessageBoxIcon.Question);
return;
</code></pre>
