Click here to Skip to main content
11,644,286 members (67,591 online)
Click here to Skip to main content

Tagged as

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

, 24 Oct 2011 CPOL 12.3K
This seems to do the job:


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


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


About the Author

United States United States
No Biography provided

| | Privacy | Terms of Use | Mobile
Web02 | 2.8.150731.1 | Last Updated 24 Oct 2011
Article Copyright 2011 by Steverey42
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid