BaseTextField.Focus Method
Gives focus to the child TextBox control in the textBox property.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overrides Sub Focus
'Usage
Dim instance As BaseTextField
instance.Focus()
public override void Focus()