开发者

asp.net forms ScriptManager __doPostback

开发者_Python百科Why does the ScriptManager ALWAYS insert the __doPostback method in javascript, even on an empty page where no controls can cause a postback?

Thank you


It is because by default ScriptManager assumes partial rendering. You can disable it like this:

<asp:ScriptManager ID="sm" runat="server" EnablePartialRendering="false" />
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜