title: asp.net Regular Expression Validator with Required Field Validator
body: <p>My problem is that i want to get the error on the same place.</p>
  
  <pre><code>&lt;td&gt;
     &lt;asp:TextBox&gt; ...&lt;/asp:TextBox&gt;
     &lt;br /&gt;
        &lt;asp:RegularExpressionValidator 
            ErrorMessage=""please enter 9 digis only" ...&gt;
        &lt;/asp:RegularExpressionValidator&gt;
        &lt;asp:RequiredFieldValidator 
            ErrorMessage="this can't be blank" ...&gt;
        &lt;/asp:RequiredFieldValidator&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>i attached an image with the output, look and the red messages this is the validators.
  i want that the error messages will be at the same place since just one error can be on.
  thanks for helpers (and for who tries).</p>
  
  <p><img src="https://i.stack.imgur.com/b5k6a.jpg" alt="the output of the code"></p>