javascript alert problem
<p>Work on ASP.net C# vs 05.</p>

<p>To Preventing Duplicate Record Insertion on Page Refresh. Under the button event i wrote below code</p>

<pre><code>Response.Redirect(Request.Url.ToString(), false);
</code></pre>

<p>i also used a javascript alert under this event ,after use the above code alert message is not showing,display message boxes from server-side code?</p>

<pre><code>string message = "Data saved successfully.";
        string s = "&lt;script type=\"text/javascript\"&gt;alert('" + message + "');&lt;/script&gt;";
        ClientScript.RegisterStartupScript(GetType(), "Alert", s);
</code></pre>
