Click here to Skip to main content
15,030,320 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I use asp dot net tab index. When I press tab and cursor go to the last control then it goes to address bar.
But I need cursor will be focused the first control(TextBox).How can i do that. Please help me.

1 solution

You can set focus on the text box on page load, find out here:
How to: Set Focus on ASP.NET Web Server Controls[^]

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

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900