How do you set the focus to a text box in ASP .NET? ASP Text boxes don't have a focus or setfocus method.
Javascript has a "focus" function call Something like Code: document.getElementById('txtUsername').focus();
document.getElementById('txtUsername').focus();
Spot on.
Forum Rules