Is it possible to trigger a JavaScript function from the "onclientclick event" of a button that has a ValidationGroup assigned?
<asp:Button ID="btnTest" runat="server" Text="Test" OnClick="btnTest_Click"
ValidationGroup="ValidateMail" OnClientClick="javascript:return checkTest()" />
<script>
checkTest()
{
if(val)
return true
else
return false
}
</script>