If you're upgrading some mid-BETA or CTP ASP.NET 2.0 code and you get some cryptic messages like
You'll need to make a few changes. First, you probably already updated your ASPX Markup.
In your ASPX page:
OLD: <%@ Page Language="C#" CompileWith="Default.aspx.cs" ClassName="Default_aspx" %>NEW: <%@ Page Language="C#" codefile="Default.aspx.cs" Inherits="Default_aspx" %>
In your ASPX.CS source file:
OLD: public partial class Default_aspx NEW: public partial class Default_aspx : Page
No free derivation any more, you have to explictly derive from a class that ulitmately derives from System.Web.UI.Page. It is that derivation that will get ride of the override compiler errors seen above. This who post also applies to pages written in VB.
Ads by The Lounge