嵌套的UpdatePanel    <form id="form1" runat="server">
嵌套的UpdatePanel        
<asp:ScriptManager ID="ScriptManager1" runat="server">
嵌套的UpdatePanel        
</asp:ScriptManager>
嵌套的UpdatePanel
嵌套的UpdatePanel    
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
嵌套的UpdatePanel        
<ContentTemplate>
嵌套的UpdatePanel            
<%= DateTime.Now %>
嵌套的UpdatePanel            
<asp:UpdatePanel ID="UpdatePanel2" runat="server">
嵌套的UpdatePanel                
<ContentTemplate>
嵌套的UpdatePanel                    
<%= DateTime.Now %>
嵌套的UpdatePanel                    
<asp:Button ID="Button1" runat="server" Text="Button" />
嵌套的UpdatePanel                
</ContentTemplate>
嵌套的UpdatePanel            
</asp:UpdatePanel>
嵌套的UpdatePanel        
</ContentTemplate>
嵌套的UpdatePanel    
</asp:UpdatePanel>
嵌套的UpdatePanel
嵌套的UpdatePanel    
</form>
点击Button1按钮,只有UpdatePanel2里面的时间会更新,而UpdatePanel1中的时间不会更新,当前套UpdatePanel时,里面的UpdatePanel的控件回发不会引起外面一层的UpdatePanel更新

相关文章:

  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
  • 2021-05-24
  • 2021-07-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-06
  • 2022-12-23
  • 2022-01-10
  • 2022-01-11
  • 2022-12-23
相关资源
相似解决方案