Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web inheritance
Message
 
To
04/06/2002 11:14:47
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00664504
Message ID:
00666462
Views:
19
Make sure your properties are Public. The default if not defined is protected which means they can't be changed outside of the class hierarchy. Private also could cause the problem even inside of the class hierarchy.

Cathi's comment about Get methods of course is also valid.

+++ Rick ---

>All,
>
>I have a component that I want to subclass via VS.Net. In my project, I do an Add/Component, go to the code and replace the Inherits with my base class.
>This method leaves all the Component Designer generated code intact and I cannot assign any properties defined in the base class in the subclass.
>
>What am I doing wrong?
>
>TIA
>
>Rex
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform