Hello all this is my first post and I am new to VB and .NET.

I would like to set focus to a textbox when my page loads.

Here is some of what I have:
Protected WithEvents textbox1 As System.Web.UI.WebControls.TextBox

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

'Set position of cursor in text box.
'textbox1.focus 'NOT WORKING??

I think the problem is with WebControls. Is there another option?
I don't know about WebControls vs Others. I am trying to modify existing code.

I have also tried to set the tab order but this did not help.

Thanks.