Set Focus on Web Form.

  • Thread starter Thread starter JAPHET
  • Start date Start date
There is one way:

In the .aspx file, add the onLoad attribute as in:

<body onLoad="document.forms[0].<%= TextBox.ClientID %>.focus();">
....

Plz Help
How to set focus on a text box for VB.Net web form.
Thanx in Advance.
 
Back
Top