title: Nested UpdatePanel: Why does ChildrenAsTriggers have no effect?
body: <p>Given a simple example with two nested Update-Panels. They are nested, and each one has a label which is filled with the current time in the code behind. I don't understand why the <code>ChildrenAsTriggers="true"</code> - Property on the outer UpdatePanel has no effect? When I hit the 'Update Nested Panel' - button, the time in the parent UpdatePanel is not updated. But as far as I understand the property, it should be:</p>
  
  <pre><code>&lt;asp:ScriptManager ID="ScriptManager1" runat="server" 
      onasyncpostbackerror="ScriptManager1_AsyncPostBackError"&gt;
  &lt;/asp:ScriptManager&gt;
  
  &lt;asp:Button ID="ButtonUpdate" runat="server" Text="Update Panel 1"
      style="margin-top: 15px" onclick="ButtonUpdate_Click" /&gt;
  &lt;asp:Button ID="ButtonUpdateNestedPanel" runat="server" Text="Update Nested Panel"
      style="margin-top: 15px" onclick="ButtonUpdateNestedPanel_Click" /&gt;
  
  &lt;asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true"&gt;
      &lt;Triggers&gt;
          &lt;asp:AsyncPostBackTrigger ControlID="ButtonUpdate" EventName="Click" /&gt;
      &lt;/Triggers&gt;
      &lt;ContentTemplate&gt;
          &lt;asp:Label ID="Label1" runat="server" /&gt;
  
          &lt;asp:UpdatePanel ID="UpdatePanelNested" runat="server"&gt;
              &lt;Triggers&gt;
                  &lt;asp:AsyncPostBackTrigger ControlID="ButtonUpdateNestedPanel" EventName="Click" /&gt;
              &lt;/Triggers&gt;
              &lt;ContentTemplate&gt;
                  &lt;asp:Label ID="LabelNested" runat="server" /&gt;
              &lt;/ContentTemplate&gt;
          &lt;/asp:UpdatePanel&gt;
  
      &lt;/ContentTemplate&gt;
  &lt;/asp:UpdatePanel&gt;
  </code></pre>
  
  <p>Thx for any tipps!
  sl3dg3</p>
  
  <p>p.s.: code behind:</p>
  
  <pre><code>protected void ButtonUpdate_Click(object sender, EventArgs e)
  {
      LabelNested.Text = DateTime.Now.ToString();
      Label1.Text = DateTime.Now.ToString();
  }
  protected void ButtonUpdateNestedPanel_Click(object sender, EventArgs e)
  {
      LabelNested.Text = DateTime.Now.ToString();
      Label1.Text = DateTime.Now.ToString();
  }
  </code></pre>