Plz Help
How to set focus on a text box for VB.Net web form.
Thanx in Advance.Check out this code snippet,
http://www.extremeexperts.com/Net/C...ck.
aspx
Saravana
http://dotnetjunkies.com/WebLog/saravana/
www.ExtremeExperts.com
"JAPHET" <JAPHET.GUYAI@.stcl.com> wrote in message
news:eSsygabvEHA.2200@.TK2MSFTNGP11.phx.gbl...
> Plz Help
> How to set focus on a text box for VB.Net web form.
> Thanx in Advance.
>
There is one way:
In the .aspx file, add the onLoad attribute as in:
<body onLoad="document.forms[0].<%= TextBox.ClientID %>.focus();">
...
"JAPHET" <JAPHET.GUYAI@.stcl.com> wrote in message
news:eSsygabvEHA.2200@.TK2MSFTNGP11.phx.gbl...
Plz Help
How to set focus on a text box for VB.Net web form.
Thanx in Advance.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment