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




Reply With Quote