web form inherits from item that no longer exists?

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
 
M

Matt Berther

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.
 
G

Googler

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top