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:
MessageBox.Show("Data Saved Successfully.", "Save", MessageBoxButtons.OK, MessageBoxIcon.Information);
I want this kind of message. Where i can set message icon, Message Header, Message text....I write a code for web :
s = "<script type=\"text/javascript\">alert('InCorrect DateFormat. Check Required.');</script>";
ClientScript.RegisterStartupScript(GetType(), "Alert", s);
Why it's not work ....And how to get message like desktop application.
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