In my company I have a ASP.NET web page where there is a ChangePasswordControl
and a RecoveryPassword
control. The problem now is that, when user filling out the data hits enter key on the keyboard he get's logged out instead of validating the user.
Normally I've used a Panel
control and setup the default button there and this helped. But here the change password button is built in and there is no way to get the ID of it (or is it?). I generally started my web apps adventure with ASP.NET MVC so I do not know much about the ASP.NET Controls.
Could anyone help me? I've read somewhere on the net that I should do my own template?
But I don't know if it's the right approach, and I don't know how to do this templates and what's the idea behind this concept. I'm wondering if I should use some jQuery or Javascript to handle that, but maybe there is a simpler way to do that.
Thanks in advance.