Ever wanted to make a particular control on a page start out with the focus? In the past, the only way to do this was to add some javascript to the OnLoad event on the Body tag. Now, thanks to the DefaultFocus property, it is easy to set the focus. Simply, specify which control is the default using the DefaultFocus property on the form tag.
<form id="Form1"
defaultfocus="TextBox1"
runat="server">
<asp:textbox id="TextBox1"
runat="server">
</asp:textbox>
<form>
Read the complete post at http://www.dotnettipoftheday.com/blog.aspx?id=188