title: How to get alert message before redirect a page
body: <p>I'm using vs 2010. I need to display the message to user and redirect the page.</p>
  
  <p>I use the below line.</p>
  
  <pre><code>ScriptManager.RegisterStartupScript(this, this.GetType(), "alert", "&lt;script&gt; alert('User details saved sucessfully');window.open('frmDisplayUsers.aspx');&lt;/script&gt;", true);
  </code></pre>
  
  <p>But I didn't get the alert message and the page was directly redirected.</p>
  
  <p>How to get alert message?</p>