Oops, my bad. They must be piping crack into the ventilation system again. ASP.NET doesn't have visual inheritance, just method inheritance. Only WinForms has visual inheritance....
My brain is scrambled, must be Friday. Time to shut down the IDE, get a beer and play CS.... -Andy Andy Johns, MCSD Senior Consultant-Architect Magenic Technologies -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 12:52 PM To: dotnet Subject: RE: aspx page inheriting from abstract class I've tried having the abstract class part of the main project and also as part of a separate (class library) project within the same solution. I haven't tried making them separate solutions yet... Thanks Phil > > That's odd I've had the issue where the abstract class wasn't > compiled, or couldn't be loaded for some reason, thus the designer > fails, but fixing that it's always worked. I usually do ASPX in > VB.NET, perhaps it's a C# limitation? Are you referencing the abstract > class as a complied DLL, or is it a separate project in the same > solution, or is it in the same project? If it's a complied DLL you > could have a versioning problem, try making a solution with both > projects in it, and make sure your ASPX reference refers to the > project copy not the DLL. Then build the solution, then try and open > the designer. That's always worked for me.... > > -Andy > > Andy Johns, MCSD > Senior Consultant-Architect > Magenic Technologies > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 11, 2002 11:36 AM > To: dotnet > Subject: RE: aspx page inheriting from abstract class > > > Hi Andy, > > The abstract class is compiled before I attempt to open > the designer on the subclass and I still get the error. > > Phil > > Make sure your abstract class is complied before viewing the > > subclass > > the designer, then it'll work fine. > > > > -Andy > > > > Andy Johns, MCSD > > Senior Consultant-Architect > > Magenic Technologies > > 510-208-6500 > > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: Friday, October 11, 2002 10:18 AM > > To: dotnet > > Subject: aspx page inheriting from abstract class > > > > > > Hi Folks, > > > > I have a web page, an aspx file, that inherits from an abstract > > class that in turn inherits from System.Web.UI.Page. The code > > compiles and works great. However, there is one small problem and > > that is that when I try to open the .aspx file in designer mode, > > vs.net complains about the type abstract and won't open > > the page in the designer, it will show the csharp code > > and the html code. > > > > Any ideas, other than not using an abstract class? > > Thanks > > > > Phil > > > > > > --- > > You are currently subscribed to dotnet as: [EMAIL PROTECTED] To > > unsubscribe send a blank email to %%email.unsub%% > > > > --------- > > Administrated by 15 Seconds : http://www.15Seconds.com > > List Archives/Search : http://local.15Seconds.com/search > > Subscription > > Information : http://www.15seconds.com/listserv.htm > > Advertising Information: http://www.internet.com/mediakit/ > > > > > > > > --- > > You are currently subscribed to dotnet as: [EMAIL PROTECTED] To > > unsubscribe send a blank email to %%email.unsub%% > > > > --------- > > Administrated by 15 Seconds : http://www.15Seconds.com > > List Archives/Search : http://local.15Seconds.com/search > > Subscription > > Information : http://www.15seconds.com/listserv.htm > > Advertising Information: http://www.internet.com/mediakit/ > > > > > > --- > You are currently subscribed to dotnet as: [EMAIL PROTECTED] To > unsubscribe send a blank email to %%email.unsub%% > > --------- > Administrated by 15 Seconds : http://www.15Seconds.com > List Archives/Search : http://local.15Seconds.com/search Subscription > Information : http://www.15seconds.com/listserv.htm > Advertising Information: http://www.internet.com/mediakit/ > > > > --- > You are currently subscribed to dotnet as: [EMAIL PROTECTED] To > unsubscribe send a blank email to %%email.unsub%% > > --------- > Administrated by 15 Seconds : http://www.15Seconds.com > List Archives/Search : http://local.15Seconds.com/search Subscription > Information : http://www.15seconds.com/listserv.htm > Advertising Information: http://www.internet.com/mediakit/ > > --- You are currently subscribed to dotnet as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --------- Administrated by 15 Seconds : http://www.15Seconds.com List Archives/Search : http://local.15Seconds.com/search Subscription Information : http://www.15seconds.com/listserv.htm Advertising Information: http://www.internet.com/mediakit/ --- You are currently subscribed to dotnet as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] --------- Administrated by 15 Seconds : http://www.15Seconds.com List Archives/Search : http://local.15Seconds.com/search Subscription Information : http://www.15seconds.com/listserv.htm Advertising Information: http://www.internet.com/mediakit/
