Hello, I tried adding an existing item(s) from a VS 2008 application, a couple of masterpages. Is there something I am doing wrong or has things changed in VS 2012 where the 2008 master page may not be compatible?
Esentially I am getting this error:
"Error 8 Handles clause requires a WithEvents variable defined in the containing type or one of its base types."
And every linkbutton I have has the same compiler error with it.
The error is located on the sub definintion line on "lnkeFiles" after the the word Handles)
Protected Sub lnkeFiles_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lnkeFiles.Click
Response.Redirect("ElectronicFiles.aspx")
End Sub
HTML:
<Go to the complete details ...