blah blah blah is here! blah blah » Close

up0down
link

OK then. Using Javascript and plain ole HTML controls it's easy to set the focus on a web form when a page loads, but how do I set the focus into a Web TextBox control when a page loads?...
Rhys

last answered 2 years ago

1 answers

up0down
link

Basically you do generate the client side script and register it. Because client understands only HTML, JavaScript and VBScript (in case of IE), CSS (Up browsers), may be XML and XSL (up browsers).
check these:
http://www.dotnetjunkies.com/tutorials.aspx?tutorialid=438
http://www.dotnetbips.com/displayarticle.aspx?id=106
http://www.reflectionit.nl/InitialFocus.aspx

This post was imported from csharpfriends, if you have a similiar question please ask it again.

All previous members have been migrated, hope you enjoy the new platform!

Feedback