kreds
kreds

Reputation: 15

Display Success Message Box in ASP.NET C#

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

Answers (2)

Shaharukh Pathan
Shaharukh Pathan

Reputation: 21

I Found This may Be It works...

ClientScript.RegisterStartupScript(this.GetType(), "Message Title", "Your Message", true);

Upvotes: 0

Purushottam Kumar
Purushottam Kumar

Reputation: 46

MessageBox.Show("Successfully saved", " Student Record", MessageBoxButtons.OK, MessageBoxIcon.Information);

Upvotes: 2

Related Questions