title: Button in Gridview showing UpdateProgress on Click
body: <p>I have a gridview that has many columns within an UpdatePanel, 2 of those columns that are populated with buttons. There is a "Update" button outside of the gridview. When the user clicks "Update", there is a UpdateProgress div that shows up, which is expected. However, when the buttons in the gridview are clicked, it also shows up, which is not what I am intending. How can I exclude these buttons from the UpdateProgress if the gridview itself is in the UpdatePanel? I've tried ChildrenAsTriggers=False and UpdateMode=Conditional but doesn't help. See code being used below.</p>
  
  <pre><code>&lt;asp:UpdateProgress id="UpdateProgress" runat="server"&gt;
  &lt;ProgressTemplate&gt;
      &lt;div style="position: fixed; text-align: center; height: 100%; width: 100%; top: 0; right: 0; left: 0; z-index: 9999999; background-color: #000000; opacity: 0.7;"&gt;
          &lt;asp:Image ID="imgUpdateProgress" runat="server" ImageUrl="~/images/ajax-loader.gif" AlternateText="Updating PO, please wait ..." ToolTip="Updating PO, please wait ..." style="padding: 10px;position:fixed;top:45%;left:50%;" /&gt;
      &lt;/div&gt;
  &lt;/ProgressTemplate&gt;
  &lt;/asp:UpdateProgress&gt;
  
  
  &lt;asp:UpdatePanel ID="UpdatePanel2" runat="server" ChildrenAsTriggers="false" UpdateMode="Conditional"&gt;
  &lt;Triggers&gt;
      &lt;asp:AsyncPostBackTrigger ControlID="UpdateButton" EventName="Click"/&gt;
  &lt;/Triggers&gt;
  
  &lt;ContentTemplate&gt;
  &lt;!-- Gridview is here --&gt;
  
  &lt;/ContentTemplate&gt;
  
  &lt;/asp:UpdatePanel&gt;
  </code></pre>
  
  <p>Example of what's in the gridview:</p>
  
  <pre><code>        &lt;asp:TemplateField HeaderText="Button Column One"&gt;
              &lt;HeaderStyle Width="70px" /&gt;
              &lt;ItemStyle Wrap="False" HorizontalAlign="Center" Width="70px" /&gt;
              &lt;ItemTemplate&gt;
                  &lt;asp:Button ID="btnG" runat="server" OnCommand="btnG_Command" Text="View"/&gt;
              &lt;/ItemTemplate&gt;
          &lt;/asp:TemplateField&gt;
          &lt;asp:TemplateField ShowHeader="False" HeaderText="Drug Details"&gt;
              &lt;ItemTemplate&gt;
                  &lt;asp:Button ID="btnA" runat="server" OnCommand="btnA_Command" Text="View" /&gt;
              &lt;/ItemTemplate&gt;
              &lt;HeaderStyle Width="60px" HorizontalAlign="Center" /&gt;
              &lt;ItemStyle Width="60px" HorizontalAlign="Center" /&gt;
          &lt;/asp:TemplateField&gt;
  </code></pre>