今天在项目中一个页面使用System.Web.UI.ScriptManager.RegisterStartupScript(this, GetType(), "js", "alert('OK');", true);的时候发现没用,检查发现脚本没用注册到页面,

check页面发现了问题,<form method="post"> 没用ruanat,更详细的信息请参看MSDN关于这个方法参数的介绍

posted on 2011-12-01 19:49  深海大虾  阅读(2020)  评论(0编辑  收藏  举报