User-1206010574 posted
I have a composite custom control which amongst other things contains a drop down list. Currently the drop down list is populated from an xml file, the path of which can be specfied in the tag.
What I would like to do is have a collection property which is populated from the tag as so:
<custom:Control ID="CustomControl" runat="server">
<collection>
<item value="some_value">Item 1</item>
<item value="some_value">Item 2</item>
</collection>
</custom:Control>
How should I go about putting together the VB code to do this? I assume I need some kind of public property, but of what type?
Any tutorials/help gratefully received.