Hybrid Control: Accessing all properties of a child control

Discussion in 'ASP .Net Building Controls' started by ryan.d.rembaum@kp.org, Feb 22, 2007.

  1. Guest

    Hello,

    I have a hybrid control. To make it easy, lets say that it consists
    of a label, a textbox, and a button. I want to make the child label's
    properties available in the designer, but I don't want to have to
    program a get and set for every property. I have made the controls
    "public" but only the button control's properties is accessible.

    Is it possible to fully expose a child control, or do I have to write
    accessor functions for every single propety?
     
    , Feb 22, 2007
    #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. Jeff Rodriguez
    Replies:
    23
    Views:
    1,134
    David Schwartz
    Dec 9, 2003
  2. Michael

    Child user control accessing parent properties

    Michael, Jul 13, 2004, in forum: ASP .Net Building Controls
    Replies:
    9
    Views:
    489
    John Saunders
    Jul 30, 2004
  3. Paul Yanzick
    Replies:
    4
    Views:
    506
    Steven Cheng[MSFT]
    Jan 9, 2006
  4. Donal McWeeney

    Mixing child properties and child controls - how?

    Donal McWeeney, Feb 10, 2005, in forum: ASP .Net Web Controls
    Replies:
    3
    Views:
    126
    [MSFT]
    Feb 14, 2005
  5. Ryan
    Replies:
    0
    Views:
    111
Loading...

Share This Page