how to set the default cursor position to the one textbox in asp.netHere is one way to do it (using body onLoad event):
<body onLoad='<%= "window.document.forms[0]." + TextBoxID.ClientID +
".focus();" %>'>
OR
<body onLoad='window.document.forms[0].<%= TextBoxID.ClientID %>.focus();'>
"Grey" <erickwyum@.i-cable.com> wrote in message
news:uMeZzwFoEHA.3464@.TK2MSFTNGP14.phx.gbl...
how to set the default cursor position to the one textbox in asp.net
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment