Do provide ValidationGroup to your dropdown and also to your RequiredField Validator
You can go through this code for javascript validation :
function manageValidation()
{
Validate the Page:
Page_ClientValidate();
Validate the Page having certain validation Group:
Page_ClientValidate('ValidationGroup');
Get Is the page valid:
var pageValidated = Page_IsValid;
if (pageValidated)
{
alert('Thanks for signing up with us. we will send your password to respective mail account');
}
else
{
}
Enable or disable any validation :
ValidatorEnable('requiredvalidatorTxtLastName', false)
ValidatorEnable('requiredvalidatorTxtUserName', true)
Force Validation:
ValidatorHookupControl('txtUserName', 'requiredvalidatorTxtUserName')
ValidatorValidate('requiredvalidatorTxtUserName')
}
Manual Validation :
If you want to make the validation false of the page for any customize javascript Code you can do it as follows.
function checkPoints(sender,args)
{
if(document.getElementById('txtPoints').value == (parseInt( document.getElementById('txtBasicPoint').value) * 2)
{
args.isValid = false;
}
}