title: Enable/disable button template of gridview
body: <p>how to enable the delete button only if the user have modify the data in a gridview  </p>
  
  <pre><code>&lt;EditItemTemplate&gt;
    &lt;div class='actions'&gt;
    &lt;asp:Button ID="btnUpdate" runat="server" Text=" Update " ToolTip="Update Row" CommandName="Update" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    &lt;asp:Button ID="btnCancel" runat="server" Text=" Cancel " ToolTip="Cancel Row" CausesValidation="false"  CommandName="Cancel" /&gt;
    &lt;/div&gt;
  &lt;/EditItemTemplate&gt;
  </code></pre>