Check for validation errors
<p>I have two tabs in my aspx page, 5 controls in each page, and am having a <code>single save</code> button for these two tabs.</p>

<p>All the 10 fields are mandatory, so am using <code>required field validator</code> here, suppose the users filling all the fields in the 1st tab and press <code>save</code>, nothing will happen, since the required field validator is fired in the 2nd tab.</p>

<p>For this situation, I need to tell them to fill the fields in the 2nd tab.</p>

<p>I've planned to check if any validation errors occured in both the tabs, if yes then I can raise a pop up using jQuery, and if there is no validation errors there, then I need to call the button click event. But I dunno how to do this.</p>

<p>can anyone give me some better idea, or how to check if there any validation error in a particular tab? thanks in advance</p>
