Click here to Skip to main content
Click here to Skip to main content

How to prevent textbox postback when hitting Enter key in ASP.NET

, 24 Oct 2011
This seems to do the job:

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

17 Oct 2011  
Ram Balak Sharma 1 alternative  
 
Stop postback in text box when hitting the Enter key, by using jQuery

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Steverey42

United States United States
No Biography provided

| | Privacy | Mobile
Web03 | 2.8.140709.1 | Last Updated 24 Oct 2011
Article Copyright 2011 by Steverey42
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid