Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I suggest you to modify your design as 2 separate Update panels as below, instead of nesting them.</p> <pre><code>&lt;asp:UpdatePanel ID="UpdatePanelParent" runat="server" UpdateMode="Conditional"&gt; &lt;ContentTemplate&gt; &lt;asp:Label ID="lblParent" runat="server" Text="Label"&gt;&lt;/asp:Label&gt; &lt;asp:Button ID="btnParent" runat="server" Text="Button" OnClick="btnParent_Click" /&gt; &lt;/ContentTemplate&gt; &lt;Triggers&gt; &lt;asp:AsyncPostBackTrigger ControlID="btnParent" EventName="Click" /&gt; &lt;/Triggers&gt; &lt;/asp:UpdatePanel&gt; &lt;asp:UpdatePanel ID="UpdatePanelChild" runat="server"&gt; &lt;ContentTemplate&gt; &lt;asp:Label ID="lblChild" runat="server" Text="Label"&gt;&lt;/asp:Label&gt; &lt;asp:Button ID="btnChild" runat="server" Text="Button" OnClick="btnChild_Click" /&gt; &lt;/ContentTemplate&gt; &lt;/asp:UpdatePanel&gt; &lt;asp:UpdateProgress ID="UpdateProgressChild" runat="server" AssociatedUpdatePanelID="UpdatePanelChild" DisplayAfter="0"&gt; &lt;ProgressTemplate&gt; Updating child... &lt;/ProgressTemplate&gt; &lt;/asp:UpdateProgress&gt; &lt;asp:UpdateProgress ID="UpdateProgressParent" runat="server" AssociatedUpdatePanelID="UpdatePanelParent" DisplayAfter="0"&gt; &lt;ProgressTemplate&gt; Updating parent... &lt;/ProgressTemplate&gt; &lt;/asp:UpdateProgress&gt; </code></pre> <p>Since <code>UpdatePanelParent</code> is made <code>UpdateMode="Conditional"</code>, it get updated only when the specified <code>Trigger</code> from the control is made and the <code>UpdatePanelChild</code> will get updated all the time. Hence maintaining the expected output, i hope.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload