解决UpdatePanel无刷新,注册客户端脚本不执行问题

        ScriptManager.RegisterStartupScript((System.Web.UI.Page)HttpContext.Current.CurrentHandler, typeof(System.Web.UI.Page), "ShowMessage", "RM0101.Inint();", true);

 

            ScriptManager.RegisterClientScriptBlock(updatePanel, typeof(UpdatePanel), "showSuccess", "Alert('删除成功');", true);

posted @ 2010-06-21 11:05  张宏宇  阅读(289)  评论(0编辑  收藏  举报