How to set default focus to a particular TextBox when web page loads?
Product Type: Tips and Tricks (Books)
Technologies: ASP.NET TextBox
In case we want to auto focus a TextBox when page loads, we can use this approach. For example, in the login page, we can auto focus the Username textbox so that when page loads the cursor starts blinking in this textbox automatically.