Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The accept button and the multi-line textbox
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
The accept button and the multi-line textbox
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01190839
Message ID:
01190839
Vues:
66
Well the title says it all :)
I have a form with a multi-line textbox on it and I have assigned an accept button to the form. So I start typing in my multi-line textbox and I press the enter key, because I want the text to start on a new line, but that is not what happens, instead the accept button's code fires and closes the form.

What I have done in some applications so far is to not use the accept button form property when the form has a multi-line textbox on it, but I kinda like the accept button feature.

Anywho any thoughts on the subject are welcome. Do you use the accept button property? What do you do when you have a multi-line textbox on the same form?

Thanks,
Einar
Semper ubi sub ubi.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform