SP中js和css的注册

 

添加:

//先执行JS,后加载HTML
Page.ClientScript.RegisterClientScriptBlock

//代码放到Form最后,即先加载HTML,在执行JS
Page.ClientScript.RegisterStartupScript


参考:

http://www.cnblogs.com/mqsuper/archive/2008/11/21/1338638.html

你可能感兴趣的:(css)