Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pressing enter on webform
Message
De
29/03/2006 08:58:23
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Pressing enter on webform
Divers
Thread ID:
01108764
Message ID:
01108764
Vues:
53
Using VS.Net2005. I have created two webforms. Both webforms have 1 textbox and 1 command button. When the focus is in the textbox of webform1.aspx, and the enter key is pressed, the commandbutton Click() event is fired as expected.

However, in webform2.aspx, when the textbox has focus and the enter key is pressed, the webform refreshes but the commandbutton's Click() event is not called. The only way to call the commandbutton's Click() for webform2.aspx is to click the button with the mouse.

What did I do differently in these two webforms to make the enter key work in one webform but not the other?

Thanks,

Jerry
Répondre
Fil
Voir

Click here to load this message in the networking platform