How we can use Use Javascript and asp validation control together
<p>i make a Aspx.page On a Single button Click event i want to call both Required Field Validator And My Java Script Function  My problem is that Required Field Validator return False and next Java Script Function returns true then page is executed which is wrong i want to restrict first one (if this is false )  how can i do it.</p>

<p><code>&lt;asp:Button ID="btnViewReport" runat="server" class="button" Text="&lt;%$ Resources:Resource, btnViewReport %&gt;"
                    OnClick="btnViewReport_Click" ValidationGroup="g1" OnClientClick="return Jvalidate();" /&gt;</code></p>

<p>g1 is my validtion group for requied field validatoe</p>

<p>thanks in advance</p>

<p>shashank</p>
