button click event

  • Thread starter Thread starter Jim McGivney
  • Start date Start date
J

Jim McGivney

I would like to have an asp.button fire (invoke click event) when the user
presses the ENTER button on their keyboard.
Any suggestions would be appreciated.
Thanks,
Jim
 
in 2.0 there's a defaultButton that does just this.

In 1.x, read:
http://www.allasp.net/enterkey.aspx

which is a great resource that shows how to die a default button to "enter"
as well as how to tie "enter" clicked in a specific textbox to a specific
button.

Karl
 
Back
Top