/* ------------------------ My Meta Content Here SEO ------------------------ */

Pages

Main Menu




Wednesday, January 11, 2012

ASP.NET - javascript popup message box

//javascript popup message box


public void ShowPop(string Message)

{

ClientScript.RegisterStartupScript(this.GetType(), "OhCrap", String.Format("alert('{0}');", Message.Replace("'", "\'")), true);

}

No comments:

Post a Comment

Recent Posts

My Blog List