Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Issue with CustomAttribute in a derived class of DropDownList

1 view
Skip to first unread message

ryjack

unread,
Jul 30, 2006, 12:54:04 AM7/30/06
to
Hello All,

I am deriving from a DropDownList and one of the properties is a
CustomAttribute that I am trying to set.

Basically, i would like one of the controls on the current form to be
the value of that property.

Here's the property snippet within the DerivedDropDownList

[
Category("Class1")
]
public TextBoxClass TextBoxOther
{
get
{
return this._TextBoxOther;
}
set
{
this._TextBoxOther = value;
}
}

In design time, i have get a list of desired controls; however, upon
selecting one and compiling, the value is lost.

Any suggestions would be greatly appreciated.

Thanks!

0 new messages