title: ImageButton validation group not working
body: <p>I have a Gridview and inside gridview I have a Footer Template..the Footer template contains
  a TextBox with two validation controls i.e RequiredField and RangeValidator and there is a ImageButton to "Add" row. When user presses the Image Button it is trapping error but once provide value within range and press "Add" nothing happens i mean submission doesn't occur. When I remove rangevalidator then it works as expected. I guess the problem is that one plugin called "autonumeric" is binded with the field which accepts only in numeric format and textbox is string format and rangevalidator type is integer..is it something causing the problem? how do i fix it.</p>
  
  <p><strong>Here is the code of FooterTemplate</strong></p>
  
  <pre><code>&lt;FooterTemplate&gt;
     &lt;asp:ImageButton ID="imgbtnAdd" runat="server" CommandName="Insert" CausesValidation="true" ImageUrl="/Style%20Library/Images/add.png" ToolTip="New Record" ValidationGroup="GridViewFooterRowGroup"/&gt;
  &lt;/FooterTemplate&gt;
  </code></pre>
  
  <p><strong>Here is the code for Item Template</strong></p>
  
  <pre><code>&lt;asp:TemplateField&gt;
   &lt;FooterTemplate&gt;
      &lt;asp:TextBox ID="txtftrQty" runat="server" Text="0" /&gt;
      &lt;asp:RequiredFieldValidator ID="rfvQty" runat="server" ControlToValidate="txtftrQty" Text="*" Display="Dynamic" CausesValidation="True" ValidationGroup="GridViewFooterRowGroup" &gt; &lt;/asp:RequiredFieldValidator&gt;
      &lt;asp:RangeValidator ID="RvFtrQty" runat="server" ErrorMessage="*" Type="Integer" MinimumValue="1" MaximumValue="999999" ControlToValidate="txtftrQty" Display="Dynamic" ForeColor="Red" CausesValidation="True" ValidationGroup="GridViewFooterRowGroup" &gt;&lt;/asp:RangeValidator&gt;
    &lt;/FooterTemplate&gt;
  
  &lt;/asp:TemplateField&gt;
  </code></pre>