一些简单又坑人的无聊使用

在使用UpdatePanel做无刷新操作时候的js无聊注册方式:ScriptManager必须存在,当然使用了UpdatePanel也自然会存在

ScriptManager.RegisterStartupScript(UpdatePanel1, this.GetType(), "bind", "alert('test');", true);

原文地址:https://www.cnblogs.com/ChenRihe/p/3840912.html