User control problem

J

John

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.
 
D

David Waz...

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
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,079
Messages
2,570,573
Members
47,205
Latest member
ElwoodDurh

Latest Threads

Top