Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Asp.Net equivalent of VFP control.setfocus
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00708825
Message ID:
00708960
Vues:
25
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...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform