Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Building Controls (http://www.velocityreviews.com/forums/f59-asp-net-building-controls.html)
-   -   Composite dropdownlist control that also displays a listbox???? (http://www.velocityreviews.com/forums/t758047-composite-dropdownlist-control-that-also-displays-a-listbox.html)

Peter S. 11-21-2005 03:23 PM

Composite dropdownlist control that also displays a listbox????
 
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




All times are GMT. The time now is 01:18 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.