Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclassing user controls
Message
From
16/04/2002 16:02:48
Rex Mahel
Realm Software, Llc
Ohio, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Subclassing user controls
Miscellaneous
Thread ID:
00645686
Message ID:
00645686
Views:
30
All,

I have a user control that I want to subclass. From VS, I create another user control, go into the code-behind page and change the Inherits to the class I want to inherit from. Do I need to do anything else? When I save the new subclass and reopen it I get a message stating that the control could not be opened in the Web Form Designer and that an object reference was not set to an instance of an object.

What am I doing wrong?

TIA

Rex
Next
Reply
Map
View

Click here to load this message in the networking platform