Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web inheritance
Message
 
À
04/06/2002 11:14:47
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00664504
Message ID:
00666462
Vues:
18
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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform