Giving focus to controls
Here's a simple question... How do you give focus to controls on an aspx page? I have set the Tab Index for all the controls so that they work in the order that I want. But, how do I set the control with tab index #1 to have focus when the page loads?
Oh, and while I'm at it, how do I set the page to accept the Enter key as the equivalent to clicking a button, without having to tab to that button first?
KO
|