Reputation: 15
How can I display messagebox with success logo in ASP.net, I can only display alert message box by using these code.
ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('Please dont leave text boxes blank');",true);
Many thanks.
Upvotes: 0
Views: 18078
Reputation: 21
I Found This may Be It works...
ClientScript.RegisterStartupScript(this.GetType(), "Message Title", "Your Message", true);
Upvotes: 0
Reputation: 46
MessageBox.Show("Successfully saved", " Student Record", MessageBoxButtons.OK, MessageBoxIcon.Information);
Upvotes: 2