J
Joe Delphi
Hi,
I have more experience working with Windows.Forms than with WebForms
and sometimes it trips me up.
When my page loads, I want a particular textbox to have the focus. I
am attempting to do it using logic like this:
if TextBox1 CanFocus then
TextBox1 Focus()
end if
But the compiler does not like that because the web version of the
TextBox class does not have CanFocus or Focus()
How do I set the focus to the desired textbox?
JD
I have more experience working with Windows.Forms than with WebForms
and sometimes it trips me up.
When my page loads, I want a particular textbox to have the focus. I
am attempting to do it using logic like this:
if TextBox1 CanFocus then
TextBox1 Focus()
end if
But the compiler does not like that because the web version of the
TextBox class does not have CanFocus or Focus()
How do I set the focus to the desired textbox?
JD