2 DetailsView validation conflict problem
<p>I have 2 DetailsView.<br />
The first one is hidden (display:none) with DefaultMode=Insert, has RequiredFieldValidator</p>

<pre><code> &lt;asp:RequiredFieldValidator ID="valRequireAddedBy" runat="server" 
     ControlToValidate="txtAddedBy" SetFocusOnError="true" 
     Text="Your name is required."  Display="Dynamic"&gt;
 &lt;/asp:RequiredFieldValidator&gt;
</code></pre>

<p>The second one, in edit mode.<br />
When I try to submit it I get an error:</p>

<blockquote>
  <p>htmlfile: Can't move focus to the
  control because it is invisible, not
  enabled, or of a type that does not
  accept the focus.</p>
</blockquote>

<p>Only if i remove the validator from first DetailsView it works.</p>
