Modifying a property of a control contained in a user control

  • Thread starter Thread starter Nathan Sokalski
  • Start date Start date
N

Nathan Sokalski

I have a user control that is made up of several HyperLink controls. In the
Page_Load event of pages that use the control I want to change a property of
one of these HyperLinks. How can I access these controls from the Page's
Load event? Thanks.
 
Hi Nathan,

Make the properties in usercontrol and create the object of it and set the
property from page load from aspx page. i think this best way to do what u
want.

Regards,
Sachin Saki
..NET Developer, Capgemini - INDIA
 

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