Enter Key and Login ControlCancel

I have used the login control on our site, this has been re-styled but no functionality has been changed.

The problem comes on pressing enter once any information has been entered I receive the following error:

The parameter 'username' must not be empty.
Parameter
name: username

All the functionality works fine using the actual login button.

I have tried a number of hacks, tries stopping any functionality if enter is pressed via javascript but the page carries on posting back regardless, tried the default button fix but get the same error.

Webinars

Tools

Progress, Telerik, Sitefinity and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries.