Passing Parameters to user control within another user control

H

hmikki

Hello -

I am dynamically loading a user control (Ctrl2) within another user
control (Ctrl1). Now, I need to pass parameters from Ctrl1 to Ctrl2.
How do I do this?
Thanks much.
 
N

Nathan Sokalski

I would declare the necessary Properties in Ctrl2, this will allow you to
set the properties regardless of where you load the UserControl from.
 

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
473,731
Messages
2,569,432
Members
44,832
Latest member
GlennSmall

Latest Threads

Top