Hybrid Control: Accessing all properties of a child control

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

  1. 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?
     
    ryan.d.rembaum, Feb 22, 2007
    #1
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.