By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,822 Members | 729 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,822 IT Pros & Developers. It's quick & easy.

web form inherits from item that no longer exists?

P: n/a
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
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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.

--
Matt Berther
http://www.mattberther.com

Googler wrote:
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

Nov 18 '05 #2

P: n/a
thanks.

"Matt Berther" <mb******@hotmail.com> wrote in message
news:#p**************@TK2MSFTNGP10.phx.gbl...
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.

--
Matt Berther
http://www.mattberther.com

Googler wrote:
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

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.