当UpdatePanel1中包含JS脚本是要注册脚本才不会弹出出错信息
ScriptManager.RegisterStartupScript(UpdatePanel1,typeof(UpdatePanel),"scriptName", "alert('登录成功')",true);
ScriptManager.RegisterStartupScript(UpdatePanel1,typeof(UpdatePanel),"scriptName", "alert('登录成功')",true);
posted on
2007-05-23 22:25
小角色
阅读(
842)
评论()
收藏
举报