Setting a control property

C

Chris Kennedy

I have a custom composite control which reads in information from an XML
file in its createchildcontrols() event. I would like to be able to set this
XML file to different places at runtime as the XML is used to determine the
number and type of child controls and so would make the control much more
reusable. The problem is the timing of the various events. What event on the
parent page will be sufficently late enough for the createchildcontrols() on
the control? My problem is I am trying to set the location of the XML file
via a property in the control in the onLoad event of the parent page which I
assume occurs before the instantiation of the control. Any suggestios or
pointers. Regards, Chris.
 

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,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top