Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Avoiding onkeypress to process Enter key on textbox drop
Message
De
12/12/2012 14:50:09
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01559443
Message ID:
01559465
Vues:
29
>If that's the case (for your first question), then may be you can detect an object from which the Enter came from? E.g. if you can detect that the current focused control is a drop down and don't do anything in this case?

The current object is a textbox but the browser has a built in mechanism which shows on top on it a dropdown list to ease the selection of a pre-entered value, in case the user would like to enter something he already did. The problem is at the form level. There is no way a form onkeypress should grab that key.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform