Composite Control - How to Expose a Child Control

Discussion in 'ASP .Net Building Controls' started by dsmolen@gmail.com, Sep 28, 2005.

  1. Guest

    I am building a composite control that contains (among other things) a
    Label control. In order to allow users to set the Text, Font and other
    properties of the Label, I would like to expose the Label control as a
    high-level property of my composite control. I have been able to make
    the Label visible in the Properties window of my composite control, but
    I have been unable to get everything working no matter how I tweak
    PersistenceMode, DesignerSerializationVisibility, CreateChildControls,
    etc.

    Could someone please post a working example of exposing a Label from
    within a composite control?

    Thanks.
     
    , Sep 28, 2005
    #1
    1. Advertisements

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,576
    David Schwartz
    Dec 9, 2003
  2. debartsa
    Replies:
    1
    Views:
    551
    John Saunders
    Apr 9, 2004
  3. debartsa

    Composite Control not receiving DataGrid (child control) events?

    debartsa, Apr 19, 2004, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    310
    debartsa
    Apr 19, 2004
  4. debartsa
    Replies:
    1
    Views:
    370
    John Saunders
    Apr 23, 2004
  5. Jonathan Eric Miller
    Replies:
    2
    Views:
    501
    Jonathan Eric Miller
    Jul 22, 2004
  6. Chad
    Replies:
    0
    Views:
    410
  7. Replies:
    0
    Views:
    223
  8. Ryan
    Replies:
    0
    Views:
    197
Loading...