How to show popup message box in ASP.NET?
<p>Work on C# VS 2005 AJAX enabled web. I want to show a pop up message on my web page. In my desktop application I write the following code to show a message:</p>

<pre><code>MessageBox.Show("Data Saved Successfully.", "Save", MessageBoxButtons.OK, MessageBoxIcon.Information);
</code></pre>

<p>I want this kind of message. Where i can set message icon, Message Header, Message text....I write a code for web :</p>

<pre><code>s = "&lt;script type=\"text/javascript\"&gt;alert('InCorrect DateFormat. Check Required.');&lt;/script&gt;";
ClientScript.RegisterStartupScript(GetType(), "Alert", s);
</code></pre>

<p>Why it's not work ....And how to get message like desktop application.</p>

<p>my button under the ajax update panel.After click data save but message is not show....if i put button out the update panel it's work show pop up message ....but i want button must stay on update panel</p>
