2012年9月17日

在.cs中调用javascript的方法

摘要: 如果没有Ajax,cs中运行某段js代码方式可以是:Page.ClientScript.RegisterStartupScript(Page.GetType(), "", "<script>InitScript();</script>");如果页面中使用了Ajax ,则上述代码即使执行也无效果。ScriptManager.RegisterStartupScript(Page, Page.GetType(), "loadTiny", "showCreateSpecialOffer();", t 阅读全文

posted @ 2012-09-17 11:30 魔GUI 阅读(340) 评论(0) 推荐(0)

导航