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. 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. sleigh
    Replies:
    1
    Views:
    2,693
    sleigh
    Feb 12, 2004
  2. Jeff Rodriguez
    Replies:
    23
    Views:
    1,132
    David Schwartz
    Dec 9, 2003
  3. Chad
    Replies:
    0
    Views:
    225
  4. Replies:
    0
    Views:
    149
  5. Ryan
    Replies:
    0
    Views:
    106
Loading...

Share This Page