Hi,
You can always go with some good-old Javascript. In your server script type in:
control_name.Attributes.Add("onSubmit", "javascript:return verifyForm();")
Then just put the necessary javascript in the .NET page like so:
<script language="Javascript">
function verifyForm() {
if (condition 1....) {
return true;
}
else {
return false;
}
}
</script>
Cheers!
Marlon
|