title: Set an async trigger for an Update Panel with a GridView asp:ButtonField
body: <p>What is correct sytnax for setting an <code>AsyncPostBackTrigger</code> for an <code>UpdatePanel</code> with an <code>asp:ButtonField</code> from an <code>GridView</code> control?</p>
  
  <p>I need to set an 'AsyncPostBackTrigger' for each asp:ButtonField in my <code>GridView</code></p>
  
  <p>Here is my source code</p>
  
  <pre><code>&lt;asp:UpdatePanel ID="MyUpdatePanel" runat="server" ChildrenAsTriggers="true" UpdateMode="Conditional"&gt;
      &lt;Triggers&gt;
      &lt;/Triggers&gt;
      &lt;ContentTemplate&gt;
          &lt;asp:GridView ID="MyGridView" runat="server" AutoGenerateColumns="false"&gt;       
              &lt;Columns&gt;        
                  &lt;asp:ButtonField ButtonType="Link" CommandName="Button1" SelectText="Click Me!" /&gt;        
                  &lt;asp:ButtonField ButtonType="Link" CommandName="Button2" SelectText="No Click Me!" /&gt;    
              &lt;/Columns&gt;
          &lt;/asp:GridView&gt;
      &lt;/ContentTemplate&gt; 
  &lt;/asp:UpdatePanel&gt;
  </code></pre>
  
  <p><b>Update</b></p>
  
  <p>I need to keep the <code>UpdateMode</code> and <code>ChildrenAsTriggers</code> attributes set to true because the I have other button contained within the <code>UpdatePanel</code> that do not refresh the <code>UpdatePanel</code> control </p>