Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > web form inherits from item that no longer exists?

Reply
Thread Tools

web form inherits from item that no longer exists?

 
 
Googler
Guest
Posts: n/a
 
      05-11-2004
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


 
Reply With Quote
 
 
 
 
Matt Berther
Guest
Posts: n/a
 
      05-11-2004
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
>
>

 
Reply With Quote
 
 
 
 
Googler
Guest
Posts: n/a
 
      05-11-2004
thanks.

"Matt Berther" <> wrote in message
news:#...
> 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
> >
> >



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
difference Inherits CompositeControl vs Inherits WebControl ton ASP .Net Building Controls 1 06-24-2007 07:49 AM
Inherits from Control, Yay, Inherits from WebControl, Nay.... Alex Nitulescu ASP .Net 0 02-22-2005 05:55 AM
Programs taking longer and longer to start up. Help please. Goforit Computer Information 9 07-25-2004 06:34 AM
how to let web user control inherits the webpage ? Tee ASP .Net 1 06-07-2004 11:15 PM
Inherits from web user control ton ASP .Net 1 10-17-2003 12:17 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57