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

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 223.1K   1.1K   21  
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

Views

Daily Counts

Downloads

Weekly Counts

License

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


Written By
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