Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The accept button and the multi-line textbox
Message
General information
Forum:
ASP.NET
Category:
Forms
Title:
The accept button and the multi-line textbox
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01190839
Message ID:
01190839
Views:
67
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.
Next
Reply
Map
View

Click here to load this message in the networking platform