Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Asp.Net equivalent of VFP control.setfocus
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00708825
Message ID:
00708960
Views:
23
Hi Douglas,

Using "elements[1]" instead of "button1" did the trick.

< body onload="document.forms[0].elements[0].focus();" > - [] not ().

Im going to play around with a VB.Net solution, such as CONTROL.FOCUS(), in the page load event of my form, since Im not real excited about adding another language (javascript) to my bag of tricks unless I have to.

For now though, Im doing it your way...

Many thanks for your help!

Todd
The day you take complete responsibly for yourself, the day you stop making any excuses, thats the day you start to the top. - O.J. Simpson

Great advice from a questionable source...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform