web form inherits from item that no longer exists?

  • Thread starter Thread starter Googler
  • Start date Start date
G

Googler

How can this inherit from a webform that is no longer in the project? There
USED to be a form called "default2", but it exists no longer. Why is my
current page "default.aspx" still inheriting from "default2" (which should
be "default")?

If I change it to "default" I get an error "Could not load type
'codelib.default'."

The project works, but it would be nice to clean this up.

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="default.aspx.vb"
Inherits="codelib.default2"%>


thanks
 
I'm guessing that default.aspx.vb defines codelib.default2. If you want
to clean this up, change the Inherits="codelib.default2" line, in
addition to renaming the class in default.aspx.vb.
 
thanks.

Matt Berther said:
I'm guessing that default.aspx.vb defines codelib.default2. If you want
to clean this up, change the Inherits="codelib.default2" line, in
addition to renaming the class in default.aspx.vb.
 
Back
Top