Issue with CustomAttribute in a derived class of DropDownList

Discussion in 'ASP .Net' started by ryjack, Jul 30, 2006.

  1. ryjack

    ryjack Guest

    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!
     
    ryjack, Jul 30, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    4
    Views:
    427
    Alf P. Steinbach
    May 23, 2007
  2. Replies:
    1
    Views:
    405
    myork
    May 23, 2007
  3. Replies:
    1
    Views:
    395
    Victor Bazarov
    May 23, 2007
  4. David
    Replies:
    3
    Views:
    408
    Grizlyk
    Jan 29, 2008
  5. JL

    CustomAttribute in Mobile controls

    JL, Dec 14, 2006, in forum: ASP .Net Mobile
    Replies:
    0
    Views:
    682
Loading...

Share This Page