The user control is headctl, ID is headctl1, and the user control contains TextBox ID to TXTBOX, but the focus is, the ID is to become headctL1_txtbox
Use functions:
Sub getfocus (byval str_ctl_name as string, byval point as page) Page.registerStartupscript (","