ASP.NET web page goes blank with JavaScript alert()

Here is a simpler version. Using the overload method[^](parameter addScriptTags), you can reduce the code.private void ShowMessage(string Message){ if (!ClientScript.IsClientScriptBlockRegistered("MyMessage")) { ClientScript.RegisterClientScriptBlock(this.GetType(), "MyMessage",...

Here is a simpler version. Using the overload method[^](parameter addScriptTags), you can reduce the code.