Add onsubmit event to the form.
Code:
onsubmit="return Validate()"
Code:
<script language="javascript">
function Validate()
{
// Do Validation here and return true or false
return false;
}
</script>
Now, for any submit, the post back will occour only if the validate method returns true.
Hope this helps...
Regards
Ganesh