I am using the following in one Web page form in ASP.NET (VS 2013) in order to 'set focus' on the username field:
Protected Sub Page_Load(ByVal sender As Object, _ ByVal e As System.EventArgs) username.Focus() End Sub
It works on that form, but not on this new one: BC30269: 'Protected Sub Page_Load(sender As Object, e As System.EventArgs)' has multiple definitions with identical signatures:
Protected Sub Page_Load(ByVal sender As Object, _
I am not clear as to why it would work in one form and not another. The only difference is that this new form takes UserName and not username, but I have accounted for that. The error, in particular, is pointing to 'Page_Load'. What OTHER properties, or attributes, then would lead to this error - and how best to get it working?