Hello
I am trying to give focus to a text box on a form:
Protected Sub Page_Load(ByVal sender As Object, _
ByVal e As System.EventArgs)
username.Focus()
End Sub
I know the syntax is correct because I use it elsewhere. However, I am getting the following error (please see attached) with Page_Load: 'Protected Sub Page_Load....has multiple definitions with identical signatures'.
Does this mean I can only have one 'Protected Sub Page_Load' per aspx file? And what would I replace it with?
Thank you.