Ask a Question related to ASP.NET Building Controls, Design and Development.
-
Chris Kennedy #1
Setting a control property
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.
Chris Kennedy Guest
-
Composite Control Property Setting Problem
I have built a simple composite control that consists of a textbox, requiredfieldvalidator and rangevalidator. For properties that are unique to... -
Collection Property problems with Image control ImageUrl property and URLBuilder
Been using reflector and examining what Microsoft does with the Rows property in the Table class. It looks like all of the items added to the rows... -
Setting user control property dynamically?
Hi I created a user control that has a property that accepts a url ("NavUrl").. I tried to set the value as follows directly in the aspx page... -
More Collection Property problems with Image control ImageUrl property and URLBuilder
After a few more hours of debugging I discovered that the URLBuilder solution that I mentioned previously does not work because there is no service... -
Error Setting user control property at web form
Dear Friends Hope things goes well to you. I have this problem. Would you please give me your solution? I want to change a property that I...



Reply With Quote

