You can do it either using JS, for attribute or control method.
With JS, you will have to use focus method.
With form, you can add attribute called “defaultfocus” to the desired control.
" sets focus to textbox5.
And programatically, you can set it by :
Asked In: Many Interviews |