玄铁剑

成功的途径:抄,创造,研究,发明...
posts - 128, comments - 42, trackbacks - 0, articles - 174

ScriptManager性能改善

Posted on 2008-04-21 19:37 玄铁剑 阅读(984) 评论(0)  编辑 收藏 引用 所属分类: Ajax

ScriptManager control has LoadScriptsBeforeUI property which you can set to “False” in order to postpone several script downloads after the content is downloaded. This adds the script references end of the <body> tag. As a result, you see the content first and then the additional scripts, exteders, ACT scripts get downloaded and initialized.


< asp:ScriptManager ID ="ScriptManager1" runat ="server" EnablePartialRendering ="true" LoadScriptsBeforeUI ="false" ScriptMode ="Release" > ... </ asp:ScriptManager >
只有注册用户登录后才能发表评论。