Calling JavaScript Alert box from Code behind in Asp.net

  1. ScriptManager.RegisterClientScriptBlock(thisthis.GetType(), "alertMessage""alert('This is C#corner')"true);