ASP.NET Web Application Message Box

You want to use an Alert. Unfortunately it’s not as nice as with windows forms.

ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('" + myStringVariable + "');", true);

Similar to this question here: http://forums.asp.net/t/1461308.aspx/1

Leave a Comment