UpdateMode="Always"实现不了局部刷新 - Web 开发 / Ajax
[code=HTML][/code]
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always" ><ContentTemplate>
<%=DateTime.Now %>
<asp:Button ID="Button1" runat="server" Text="局部刷新" />
</ContentTemplate>
</asp:UpdatePanel>
<hr />
<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional" ><ContentTemplate>
<%=DateTime.Now %>
<asp:Button ID="Button2" runat="server" Text="总体刷新" />
</ContentTemplate>
</asp:UpdatePanel>
------解决方案--------------------相反了吧?
------解决方案--------------------Conditional 需要指定<Triggers>来完成局部刷新