You can manually capture the Enter key using javascript, and here's an example:
function keyDownHandler(buttonId) {
// Process only the Enter key
if (event.keyCode == 13) {
// cancel the default submit
event.returnValue = false;
event.cancel = true;
if (document.getElementById(buttonId))
document.getElementById(buttonId).click();
}
}
SQL Server Helper
How well do you know SQL? Find out with the free test assessment from SQL Server Helper!!!
http://www.sql-server-helper.com/free-test/default.aspx
Got a SQL Server Question? Ask us here:
http://www.sql-server-helper.com/forums/default.asp