Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I set focus to a control?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00832028
Message ID:
00832031
Vues:
20
This message has been marked as the solution to the initial question of the thread.
Hi Steve,

There are two options, both involve JScript code. See the "Cathi Gero's .NET Tips" section of the December Universal Thread Magazine issue http://www.utmag.com/ViewPageArticle.aspx?Session=46436436334B6E594968633D2054544A6F68643770756C34374E497449344C366B4E773D3D for sample code.

>How can you control which control is active on an ASPX page at any given moment?
>
>Specifically, I want a specific control to have focus when the page loads so that the user doesn't have to click on the control with the mouse.
>
>Thanks.
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform