Measuring programming progress by lines of code is like measuring aircraft building progress by weight. --Bill Gates
Welcome to my blog about software development and the Microsoft stack.

I've been a full time .NET developer for ten years, but I didn't start my professional life as a programmer ... more
Share/Print this page:

Subscribe for news, updates and more:

Please enter your reply for the comment shown below:

Post Your Comment
  You may post without logging in or login here.
Display Name: Required.
Email: Required. Will not be shown. Used for identicon.
Comment:
Allowed tags: <quote></quote>, <code></code>, <b></b>, <i></i>, <u></u>, <red></red>
 
   Please type text as shown in the image at left.
Reply 2007 Oct 22 23:21 PM by steve. reply
In 2.0 .NET makes this easier. The .Focus() method on web controls injects the javascript to set focus to the control when the page loads.

txtName.Focus();