Composite dropdownlist control that also displays a listbox????

P

Peter S.

This is driving me crazy, I am trying to build a custom dropdownlist that when
rendered also displays a listbox next to it. I am going to use the listbox as
a repository for items that are selected when accessing the dropdown. I did
override CreateControlCollection() and returned "new
ControlCollection(this);". However when I add controls (by overriding
CreateChildControls()) I do not see them on the webpage. Is there any other
magic that needs to be done? I have created other custom controls without a
problem.
BTW, I want to keep dropdownlist as the base class because my page has
a number of these controls and I want to be able to configure the list via the
aspx page rather than programatically. Any information would be greatly
appreciated!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Thanks,
Peter
 

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

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top