title: Full postback triggered by LinkButton inside GridView inside UpdatePanel
body: <p>I have a GridView inside of a UpdatePanel. In a template field is a button I use for marking items. Functionally, this works fine, but the button always triggers a full page postback instead of a partial postback. How do I get the button to trigger a partial postback?</p>
  
  <pre><code>&lt;asp:ScriptManager ID="ContentScriptManager" runat="server" /&gt;
  &lt;asp:UpdatePanel ID="ContentUpdatePanel" runat="server" ChildrenAsTriggers="true"&gt;
      &lt;ContentTemplate&gt;
          &lt;asp:GridView ID="OrderGrid" runat="server" AllowPaging="false" AllowSorting="false"
              AutoGenerateColumns="false"&gt;
              &lt;Columns&gt;
                  &lt;asp:TemplateField HeaderText=""&gt;
                      &lt;ItemTemplate&gt;
                          &lt;asp:LinkButton ID="MarkAsCompleteButton" runat="server" Text="MarkAsComplete"
                              CommandName="MarkAsComplete" CommandArgument='&lt;%# Eval("Id") %&gt;' /&gt;
                      &lt;/ItemTemplate&gt;
                  &lt;/asp:TemplateField&gt;
                  &lt;asp:BoundField DataField="Name" HeaderText="Name" /&gt;
                  &lt;asp:BoundField DataField="LoadDate" HeaderText="Load Date" /&gt;
                  &lt;asp:BoundField DataField="EmployeeCutOffDate" HeaderText="Cut Off Date" /&gt;
                  &lt;asp:BoundField DataField="IsComplete" HeaderText="Is Completed" /&gt;
              &lt;/Columns&gt;
          &lt;/asp:GridView&gt;
      &lt;/ContentTemplate&gt;
  &lt;/asp:UpdatePanel&gt;
  </code></pre>