User control problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John

    User control problem

    Hi all,

    I have a usercontrol which contains others. How do I get the info from these
    embedded usercontrols from my parent usercontrol?

    Regards
    John.


  • David Waz...

    #2
    User control problem

    Expose the child controls via read-only properties in the
    parent control, then the "grand-parent" page can see the
    parent user control, and the embedded child user controls.

    You can also use locally mapped "WithEvents " variables to
    add an event handler to the top-level page by referencing
    the child/grand-child user controls[color=blue]
    >-----Original Message-----
    >Hi all,
    >
    >I have a usercontrol which contains others. How do I get[/color]
    the info from these[color=blue]
    >embedded usercontrols from my parent usercontrol?
    >
    >Regards
    >John.
    >
    >
    >.
    >[/color]

    Comment

    Working...