摘要:
在.NET当中,如果要实现一些服务器端的控件的特殊效果,要触发一些JS的脚本,写在客户端很难达到想象的效果,今天学到了个好的思路,就是在.CS文件中注册JS的脚本,方法如下面的例子:ScriptManager.RegisterStartupScript(this, this.GetType(), "inform", "document.getElementById(\"inform\").clas... 阅读全文
posted @ 2008-08-08 12:44
chunchill
阅读(472)
评论(0)
推荐(0)