Click here to Skip to main content
15,357,293 members
Articles / Web Development / ASP.NET


21 bookmarked

How To set Default Button for ENTER key pressed event, and How To set Focus on a particular Control when Page loads, and How To Shift Focus from One Control To Another when TAB key is pressed

Rate me:
Please Sign up or sign in to vote.
3.38/5 (6 votes)
14 Apr 2009CPOL3 min read
How to make any button on a web-form a default button for a user action like "ENTER" pressed, and how to set focus to a particular control on a web page


Daily Counts


Weekly Counts


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


About the Author

Jitendra R Wadhwani
Software Developer Software Development
India India
Jitendra is a software developer, who believes, trouble-shooting skills are as important as the coding skills. He also believes that apart from technical skills a person should possess some Project Execution Skills as well to complete a project very successfully.

Comments and Discussions