Composite Control Part 2
Having created my composite control, I would like to simplify the usage of the component. The component needs to be binded to a control on the Web Form (very much like a RangeValidator control).
Currently, the properties of my component requires you to type the name of the correct component. However, this allows room for error, and it also allows someone to break the code by entering a name of an incompatible binding component.
My Composite Control can only be binded with a GridView Control, Datalist Control, and a Repeater Control. Therefore, the ideal solution would be a drop down in the properties of my component which is populated with the names of the valid components which are on the same page.
While this is done in some of the built in ASP.NET 2 Components, I cannot find any resources to help me achieve this.
Any help or suggestions would be appreciated.