Disable Enter key posting back on ASP.Net web page

    Date: 01/31/06 (Asp Dot Net)    Keywords: asp, java, web

    I have a web form I am working on and the testers have said that they think the Enter button should be fixed so that it does not submit the form. I looked up some information but many of them are random Javascript codes adn some of them TOTALLY disable the enter key in the form. Is there any way in the ASP.Net code itself that would just stop the Enter from posting back and not totally shutting it off? If it helps we all use IE6 here (and no I'm not thrilled by this fact.) thanks.

    Source: http://community.livejournal.com/aspdotnet/57293.html

« Repeaters in Tables || Formatting with Repeaters »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home