Page dependent on values is user control

G

Guest

I have a page with some controls on it including a user control. I've got
image links that are dependent on values in the user control. How can I make
the page controls dependent on the user control when page onload is called
before the user control onload?
 
J

Joe Fallon

In your user control create Public Properties to expose the data.
Initialize them in OnInit.

Then your page should be able to access them directly.
Me.UserControl.Property.
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top