Well there are two things wrong with this code that I can see. First, none of your ASP form fields have been closed properly. They either need to have a matching close tag, or have the forward slash attribute at the end of each tag. So:
<asp:label id="Label1" runat="server" text="Name">
Should be:
<asp:label id="Label1" runat="server" text="Name"></asp:label>
or:
<asp:label id="Label1" runat="server" text="Name" />
The same should be done for all of your 'asp:TextBox' and 'asp:RequiredFieldValidator' tags.
And secondly, one of your Javascript lines has a typo:
var Contact_No = document.getElementById('<%=txtContactNo %>').value;
Should be:
var Contact_No = document.getElementById('<%=txtContactNo.ClientID %>').value;
Otherwise the script fails with an 'Object required' error.
After these changes the code compiles and works fine for me.