Hi All, if someone have used the DSO object in IE5 or superior, and have
tried to validate a record before exiting the row, how I can cancel the
rowexit event to make my DSO stay in the invalid record. I have read
that returning false from the rowexit event handler the rowexit event is
cancelled, but the sample code is in VBScript:
<SCRIPT FOR=<tla rid="tla_dso"/>Composers EVENT=onrowexit>
if (txtBorn.value > txtDied.value)
{
alert("Birth date must be less than or equal to deceased dates");
return false;
}
</SCRIPT>
I write my event handler in jscript in this way and the rowexit doesn't
cancel:
"<xml onrowexit="rowExit();" ....
function rowExit()
{
if (!boolIsRowValid())
{
return false;
}
}
if someone have deal with this, the help would be extremely appreciated.