title: Asp.net Image Button does not have an onClick event
body: <p>This code is inside a <code>GridView</code>,</p>
  
  <pre><code>&lt;asp:TemplateField HeaderText="Edit" ItemStyle-VerticalAlign="Middle" ItemStyle-HorizontalAlign="Center"&gt;
        &lt;ItemTemplate&gt;
          &lt;asp:Image ID="imgEdit" ImageUrl="~/edit.png" runat="server"/&gt; 
         &lt;/ItemTemplate&gt;
  &lt;/asp:TemplateField&gt;
  </code></pre>
  
  <p>My problem is that if I try to create an <code>onClick</code> event inside the <code>&lt;asp:Image</code> attribute it is not available. What might be the issue? </p>