title: TextBox inside GridView validation
body: <p>This is my code:</p>
  
  <pre><code>&lt;asp:TemplateField HeaderText="Email"&gt;
      &lt;ItemTemplate&gt; 
          &lt;asp:TextBox ID="txtEmail" runat="server" Text='&lt;%# Eval("Email") %&gt;' Width="88px" CausesValidation="True" /&gt;
          &lt;asp:RegularExpressionValidator runat="server" ErrorMessage="Enter a valid email id!" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ControlToValidate="txtEmail" /&gt;
          &lt;asp:RequiredFieldValidator runat="server" ErrorMessage="*" ControlToValidate="txtEmail" /&gt;
      &lt;/ItemTemplate&gt;
  &lt;/asp:TemplateField&gt;
  </code></pre>
  
  <p>when i am clicking next button required field validation is not causing validation and its not showing any error and page is re-directing on next page.</p>
  
  <p>Please help me.</p>