在使用UpdatePanel时JS对话框出错的解决办法。
将response.write(<script>alert('');</script>);换成
ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "TestAlert", "alert('测试 alert !');", true);
就OK
将response.write(<script>alert('');</script>);换成
ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "TestAlert", "alert('测试 alert !');", true);
就OK
