This will call the click event when someon hits the enter
key.
"Save" is the name of the button
<script language="javascript">
document.onkeypress = handlerKP;
function handlerKP(e)
{
kp = event.keyCode
if (kp==13) document.Form1.Save.click();
}
</script>
>-----Original Message-----
>Does anyone know how to make a server control button the
default button on
>the page, so when the user hits Enter, the page will
submit??
>
>Thanks, Mark.
>
>
>.
>