D Dave Bailey Nov 18, 2003 #1 How do I set the focus on a TextBox control when a web page loads. Thanks, Dave
N Nicholas Paldino [.NET/C# MVP] Nov 18, 2003 #2 Dave, There is a load event on the body tag which you can use to set the focus of the textbox. However, you have to do this in JavaScript, not in C#. Hope this helps.
Dave, There is a load event on the body tag which you can use to set the focus of the textbox. However, you have to do this in JavaScript, not in C#. Hope this helps.