ClientScriptManager.RegisterClientScriptBlock Method

这个方法不能在Render方法里面使用,但是可以在PreRender中使用

 

最好是放到OnLoad方法中,比较统一