Search this Site
powered by
Google
Home
|
About Us
|
Blog
|
Link to Us
|
Contact Us
Shop at Our ASP.NET Store!
ASP.NET Resources
Tutorials & HOW TOs
ASP.NET Feeds
Articles
Blogs - ASP.NET Team
Blogs - Others
Conferences & Events
Forums
Microsoft KB Articles
ASP.NET Store
Books (including reviews)
Software
Videos
ASP.NET Directory
Applications
Articles & Samples
Components & Controls
Developer Sites
Hosting Services
Post your ASP Questions here!
ASP.NET Hosting
.Net software programmers
.NET Downloads
.NET Framework 3.5
.NET Framework 3.0
.NET Framework 2.0
Visual Studio 2008
Visual Web Dev 2008 Express
Visual Web Dev 2005 Express
ASP.NET Web Matrix
HOW TO: Use the Enter Key in a TextBox Control to Submit a Form
Solution
Using the enter key to submit a form
(AllAsp.net) - achieved by setting the value of the __EVENTTARGET hidden form field; also showcases a solution which adds Javascript code to a TextBox control to intercept the client-side enter keypress event.
Default Button.Net
by Janus Kamp Hansen - adds Javascript code (similar to the above).
DefaultButtons Control
(MetaBuilders) - a custom control solution.
Related Resources
MSDN: Generating Client-Side Script for Postback
Add to favorites
|
Printable page
Home
|
About Us
|
Link to Us
|
Contact Us
Privacy Statement
© 2004-2008 ASPNETWorld.com