Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ViewState and textbox key press form post
Message
De
03/02/2017 09:50:35
 
 
À
03/02/2017 09:10:04
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01647415
Message ID:
01647418
Vues:
23
After more investigation into this, I found out that if there is only one textbox in a form, the enter key will trigger a submit. If there are two or more, the enter key does not trigger a submit. This seems to be a natural behavior of HTML, not specific to any browser.

So, basically, when someone adds the onkeypress support at the textbox level, we would have to avoid adding that support if there is only one textbox on the form at this will trigger a dual submit. Is that your understanding as well on that issue?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform