Try Now
More in this section

Forums / Developing with Sitefinity / Enter Key and Login Control

Enter Key and Login Control

2 posts, 0 answered
  1. Iain
    Iain avatar
    26 posts
    29 Dec 2010
    04 Mar 2011
    Link to this post

    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.

    Any help would be appreciated.


  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    19 Oct 2016
    17 Mar 2011
    Link to this post
    Hello Iain,

    The error does not seem to be related to the restyling of the control. Do you use a custom membership and role providers? Can you past the stack trace of the error?

    Ivan Dimitrov
    the Telerik team
2 posts, 0 answered