Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pressing enter on webform
Message
From
29/03/2006 08:58:23
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Pressing enter on webform
Miscellaneous
Thread ID:
01108764
Message ID:
01108764
Views:
54
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
Reply
Map
View

Click here to load this message in the networking platform