J
JJ
I have a createuserwizard control on my web form. When the user registration
fields are filled out correctly, and the user then presses the return key
instead of clicking the 'create user' button, the browser seems to default
to the first asp control on the web page instead of having the same effect
as clicking the create user button.
In my case the first asp control on the page is the login button, so they
end up at the login page instead of completing their registration.
I cannot set the 'default button' of the 'asp form', because the 'form' is
actually on the masterpage, so the 'default' button would change on each
page.
Is there either a way of making the default button different for each page,
or, if I have to, disabling the RETURN and ENTER keys altogether?
JJ
fields are filled out correctly, and the user then presses the return key
instead of clicking the 'create user' button, the browser seems to default
to the first asp control on the web page instead of having the same effect
as clicking the create user button.
In my case the first asp control on the page is the login button, so they
end up at the login page instead of completing their registration.
I cannot set the 'default button' of the 'asp form', because the 'form' is
actually on the masterpage, so the 'default' button would change on each
page.
Is there either a way of making the default button different for each page,
or, if I have to, disabling the RETURN and ENTER keys altogether?
JJ