Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I set focus to a control?
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00832028
Message ID:
00832031
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform