B
Billy Jacobs
Is there a way to make a button on a web form the default
button so that when the user hits the enter button the
code for that button executes?
I have a web page Login.aspx where I have only 1 button on
the form. When the user hits enter the button is clicked.
I have a second page mycsepp.aspx which has an asp button
and a link button. When I hit enter neither of the button
click events are triggered. If I tab to one of them and
press enter then it works.
I want the asp button to be the default. Is this possible
and if so how?
button so that when the user hits the enter button the
code for that button executes?
I have a web page Login.aspx where I have only 1 button on
the form. When the user hits enter the button is clicked.
I have a second page mycsepp.aspx which has an asp button
and a link button. When I hit enter neither of the button
click events are triggered. If I tab to one of them and
press enter then it works.
I want the asp button to be the default. Is this possible
and if so how?