In asp.net how to disable popup message when redirecting to another page
<p>how to disable popup message when redirecting to another page?</p>

<p>i am having login page and home page and registration page.</p>

<p>i gave one alert message when user name and password in correct it's display</p>

<p>i entered wrong username and password it display message after i am postback registration page </p>

<p>complete my registration  after redirect my login page that time it also displayed same alert</p>

<p>why this ?
how to resolve ? please help to me </p>

<pre><code>Page.RegisterStartupScript("aa", 
    "&lt;script&gt;alert('Please Enter Correct UserName and Password');&lt;/script&gt;");
</code></pre>

<p>i am using this.</p>
