Getting Invalid Token Error After Adding Runat = Server
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hi all, I am getting the error "Invalid token ';' in class, struct, or interface member declaration" after adding runat = "server" to html elements in my aspx.designer.cs files. I added runat = server to html elements so that they can be manipulated dynamically from codebehind. I've looked online to see why I'm getting the error but I have yet to find anything that is remotely close to my situation. Any help will be greatly appreciated, thanks.