郑国聪的程序员之路

js注入问题

在updatepanel 里面注入JS使用ScriptManager.RegisterStartupScript(this.Page,this.GetType(), "ExceptionScript", ExceptionScript, true);

否则可以使用Page.ClientScript.RegisterStartupScript(this.GetType(), "strNoEmployee", strNoEmployee, true);

posted on 2010-05-19 13:44  郑国聪  阅读(283)  评论(0编辑  收藏  举报

导航