title: linkbutton or button onClick not fireing inside gridview ItemTemplate
body: <p>hi i have a gridview in my asp.net webpage that is bounded after a user selects 3 dropdown list.<br>
  dropdown list's auto postbacks are set true , now my problem is when i put a button , imagebutton or linkbutton in my gridview ItemTemplate  the onclick event dosent fire !
  here is my code </p>
  
  <pre><code>    &lt;asp:GridView ID="GridView1" runat="server"   Width="90%" Height="100%" OnRowCommand="GridView1_RowCommand"  OnPageIndexChanging="GridView1_PageIndexChanging" style="margin:20px; vertical-align:top;"  PageSize="10" AllowPaging="True" 
          AllowSorting="True"  
          AutoGenerateColumns="False" DataKeyNames="WFStudentID" ShowHeader="true" BorderWidth="1px"&gt;
  
          &lt;Columns&gt;
            &lt;asp:TemplateField  ShowHeader="true"&gt;
              &lt;ItemTemplate &gt;
                &lt;tr&gt;
                  &lt;td&gt;
                    &lt;asp:Label ID="Label1" ForeColor="Silver" Font-Size="Medium" runat="server" Text='&lt;%# Bind("Name") %&gt;'&gt;&lt;/asp:Label&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                    &lt;asp:Label ID="Label2" runat="server" ForeColor="Silver" Font-Size="Medium"  Text='&lt;%# Bind("Family") %&gt;'&gt;&lt;/asp:Label&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                    &lt;asp:HyperLink ID="HyperLink1" ForeColor="Silver" Font-Size="Medium" Target="_blank" NavigateUrl='&lt;%# Bind("WFStudentFilePath") %&gt;' runat="server"&gt;دانلود&lt;/asp:HyperLink&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                    &lt;asp:Label ID="Label7" runat="server" ForeColor="Silver" Font-Size="Medium"  Text='&lt;%# Bind("WFStudentDate") %&gt;'&gt;&lt;/asp:Label&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                    &lt;asp:Button ID="Deny" Text="deny"  OnClick="Deny_Click1"       runat="server" /&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                    &lt;asp:ImageButton ID="accept" OnClick="accept_Click"  runat="server" /&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                    &lt;asp:TextBox ID="des" TextMode="MultiLine" Height="100px" Width="200px" runat="server"&gt;&lt;/asp:TextBox&gt;
                  &lt;/td&gt;
                &lt;/tr&gt;
                &lt;br /&gt;
              &lt;/ItemTemplate&gt;
            &lt;/asp:TemplateField&gt;
          &lt;/Columns&gt;
      &lt;/asp:GridView&gt;  
  
  
  
  protected void Deny_Click1(object sender, EventArgs e)
  {
    Response.Redirect("home.aspx");
  }
  </code></pre>