开发者_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" />
精彩评论