Hi

Thanks for viewing this thread. Does anyone know how to display MessageBox at C# aspx pages?

Sorry i cannot use MessageBox.Show() as it does not display it when i run it with IIS.

Please ask me more question if you need to.

Thanks for the help

It is not possible to show message box in asp.net. To display a message you can use content presenter such as Label .
To show some client side errors use js alert box

Hi

Thanks for viewing this thread. Does anyone know how to display MessageBox at C# aspx pages?

Sorry i cannot use MessageBox.Show() as it does not display it when i run it with IIS.

Please ask me more question if you need to.

Thanks for the help

Try this
string Actionmsgbox = ("<script>alert('Data Saved Successfully');</script>");
Page.ClientScript.RegisterStartupScript(this.GetType(), "Say", Actionmsgbox);

string Actionmsgbox = ("<script>alert('Data Saved Successfully');</script>");
Page.ClientScript.RegisterStartupScript(this.GetType(), "Say", Actionmsgbox);