How to get items collection to show up

I have a Web User Control I am writing.

At design time I want to have a Collection of OTHER Web User Controls that shows up in the Properties window.

How do I do this?
LVL 5
Tom KnowltonWeb developerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Oliver AmayaEntrepeneurCommented:
Hi, I believe that this particular functionality is only supported when you're creating custom controls and not for user controls.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
RejojohnyCommented:
what joe mentions above might be correct .. but just try defining your custom property of the user control like this ..
<TypeConverter(GetType(ControlIDConverter))>
        Public Property MyCustomPropery() As String

Rejo
0
Tom KnowltonWeb developerAuthor Commented:
Let's switch gears for a minute and assume I am working with a custom control .. not an .ascx.

How could I get the Collection to show-up in the Properties window with an elipse button and all the bells and whistles.

I want to mimic the functionality you see for an Items (Collection) in regular asp controls such as a DropDownList, ListBox, or RadioButtonList -- where you see Items  (Collection) in the Properties window and you click on the button and it brings up a Window where you can add or remove items.


Are there any good books or websites that walk you through how to do this?
0
RejojohnyCommented:
did you try what I menioted above .. it does give the ellipse and list all the controls in the page .. i was not able to get it to filter out specific types ..

Rejo
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.