I'm trying to set focus on a textbox that's on an Ajax Tab Panel. I can find the control with code but can't get the focus to work.
I've tried a few different ways...
Dim myt As System.Web.UI.WebControls.TextBox = CType(tc1.Tabs(0).FindControl("t1"), TextBox)
myt.Focus()
tc1.Tabs(0).FindControl("t1").Focus()
I get no errors, but the focus never happens
Thanks in advance if you can help....
I've tried a few different ways...
Dim myt As System.Web.UI.WebControls.TextBox = CType(tc1.Tabs(0).FindControl("t1"), TextBox)
myt.Focus()
tc1.Tabs(0).FindControl("t1").Focus()
I get no errors, but the focus never happens
Thanks in advance if you can help....