How do you get a reference to the UserName textbox in a login control as in Dim txtUserName As TextBox = Login1.LayoutTemplate("UserName") txtUserName.Focus() Thanks ...