2009年5月5日

摘要: 可以使用:RegisterClientScriptBlock和RegisterStartupScript 1) ScriptManager.RegisterClientScriptBlock(UpdatePanel1, this.GetType(), "click", "alert("提示信息")", true); 2)ScriptManager.RegisterStartupScript(U... 阅读全文
posted @ 2009-05-05 13:01 J-Pei 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 在ASP.NET2.0中,ClientScriptManager 类通过键 String 和 Type 唯一地标识脚本。具有相同的键和类型的脚本被视为重复脚本。因此,我们可以使用脚本类型来避免混淆可能用在页中的来自不同用户控件的相似脚本。 ClientScriptManager Example 1 2 - 资料... 阅读全文
posted @ 2009-05-05 12:45 J-Pei 阅读(213) 评论(0) 推荐(0) 编辑

导航