Use enter key for button
hello :) I have a login form with 2 textboxes and a button (login). I want instead of clicking the button, to use ENTER key. how can i do that? thank you :)
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


VulpesRank #55 · 29.2K reputationPosted Mar 29, 2013, 7:05 AM EDT
this.AcceptButton = btnLogin;