You will have to use Client javascript to do that
Code:
Page.RegisterStartupScript("setFocus", "<script>document.getElementById('" & TextBox1.ClientID & "').focus();</script>")
Take a look at RegisterStartupScript Method of the Page Object to understand what happens when you call this method.