Page dependent on values is user control

  • Thread starter Thread starter Guest
  • Start date Start date
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?
 
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

Back
Top