Set Focus to a Text Box Field on a User Web Control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to set focus to a text box field on a user web control. Does
anyone have suggestions on how I should approach this?
 
Something basic like this should work:

Response.Write "<script language = javascript>"& MyTextBox.ClientID &
".focus()</script>"
 
Back
Top