2010年11月4日
摘要: 如果不用Ajax,cs中运行某段js代码方式可以是:Page.ClientScript.RegisterStartupScript(Page.GetType(), "", "<script>window.open('default2.aspx')</script>");如果页面中使用了Ajax ,则上述代码即使执行也无效果。应对这种情况我们通常采用:ScriptManage... 阅读全文
posted @ 2010-11-04 17:18 挑战自我 阅读(309) 评论(0) 推荐(0) 编辑