"Codebehind no longer supported"http://forums.asp.net/t/968797.aspx/1?+Codebehind+no+longer+supported+Sun, 05 Mar 2006 12:25:18 -05009687971216589http://forums.asp.net/p/968797/1216589.aspx/1?+Codebehind+no+longer+supported+"Codebehind no longer supported" <p>Then why does VS 2005 add that syntax into every new page I create? And then flag it as an error?</p> <p>&nbsp;</p> 2006-03-03T23:54:52-05:001216629http://forums.asp.net/p/968797/1216629.aspx/1?Re+Codebehind+no+longer+supported+Re: "Codebehind no longer supported" <p><font face="Verdana" size="2">The CodeBehind attribute is no longer supported in Visual Studio 2005. Code-behind was replaced with code-beside. Take a look at this article: </font><a href="http://aspalliance.com/244"><strong><font face="Verdana" size="2">ASP.NET V2.0: Code-Beside Replaces Code-Behind</font></strong></a><font face="Verdana" size="2">. Visual Studio 2005 shouldn't be adding the codebehind atribute. Create a new web page and post what VS generates for the web forms Page directive.</font></p> <p><font face="Verdana" size="2">HTH,<br> Ryan</font></p> 2006-03-04T02:04:41-05:001217305http://forums.asp.net/p/968797/1217305.aspx/1?Re+Codebehind+no+longer+supported+Re: "Codebehind no longer supported" <p>Hi Chip,</p> <p>I suspect you are seeing that warning because you are using the VS 2005 Web Application Project preview.&nbsp; If so, you can safely ignore the warning -- it is there in the current preview build, but will go away with the refreshed build later this month.</p> <p>Hope this helps,</p> <p>Scott</p> 2006-03-05T12:25:18-05:00