Reply
Firefox submits form when pressing enter in text area
Old 10-01-2007, 09:57 PM Firefox submits form when pressing enter in text area
Skilled Talker

Posts: 57
I have a text box here in ASP page,

but when I press enter to have more extra lines, the form would actually submit. This only happens in Firefox. It's fine on IE.

Does anyone know how to fix that?

<asp:TextBox ID="txbMessage" runat="server" MaxLength="2000" width="240px" Rows="10" TextMode="MultiLine" />
__________________
Socialwares - Social networking development studio
We develop social network site for you!
wll6568 is offline
Reply With Quote
View Public Profile
 
Sponsored Links (We share ad revenue):
 
Old 10-02-2007, 09:05 PM Re: Firefox submits form when pressing enter in text area
Novice Talker

Posts: 7
Are you 100% it's textmode?
BlogSalesman is offline
Reply With Quote
View Public Profile
 
Old 02-15-2008, 09:34 PM Re: Firefox submits form when pressing enter in text area
ozzozo's Avatar
Experienced Talker

Latest Blog Post:
Customer Support Whitepaper
Posts: 45
On the button click, add this code:

Code:
if(Page.IsValid)
{
     // put your code to handle the click
}
__________________
Universal FAQ Manager - FAQ Management Software
ozzozo is offline
Reply With Quote
View Public Profile Visit ozzozo's homepage!
 
Sponsored Links (We share ad revenue):
 
Reply     « Reply to Firefox submits form when pressing enter in text area
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML


Page generated in 0.15624 seconds with 14 queries