摘要:
One of the things that was introduced in .NET 2.0 was a new mechanism for managing registration of client script into the page, via the new ClientScriptManager class, instead of the page's dedicated R... 阅读全文
posted @ 2009-06-20 21:18
船长
阅读(433)
评论(0)
推荐(0)
摘要:
第一个是 RegisterStartupScript 方法。当您有一个想要在页面加载时启动的 JavaScript 函数时,最好使用该类。就此列举一例,在 Visual Studio 2005 中创建一个包含两个按钮的 ASP.NET 页面。Button1 和 Button2 分别为这两个按钮的 ID。然后,在 Page_Load 事件内部嵌入以下代码 Page.ClientScript.Regi... 阅读全文
posted @ 2009-06-20 21:10
船长
阅读(425)
评论(0)
推荐(0)
浙公网安备 33010602011771号