Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclass user control
Message
From
10/11/2007 23:43:51
 
 
To
10/11/2007 22:05:35
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01268318
Message ID:
01268320
Views:
13
My guess is that the "public" property is not defined as a true Property. It needs to have a get/set in order for the Property Sheet to know about it:
private int m_MyProperty;

public int MyProperty
{
    get {return this.m_MyProperty;}
    set {this.m_MyProperty = value;}
}
~~Bonnie


>Hi,
>I have a custom user control (ControlA) downloaded from internet. I created a class (SubClassedA) that inherited from it.
>
>I have problem that, after I drop SubClassedA on form, designer unable to access the public property that defined in ControlA.
>
>Any ideas?
>
>Thank you
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform