S
studen771
Thanks in advance to anyone who can help 
First, you'll have to pardon my very 'beginner' status on custom controls..
I'm creating a composite control that includes a listbox, and i want to be
able to add/remove items within it both in design time and runtime, just as
the default listbox behaves in the vs.net designer.
The 'ListItemCollection' property is read-only, and thus I don't know how to
enable this functionality either in design time or runtime. I tried creating
a public propery of type 'ListItemCollection' within the composite control,
yet in the vs.net designer (design time) it ignores any additional items I
attempt to add to the listbox.
1 ) If I create a object derived from the Listbox control, can I achieve
this functionality? If so, how? OR ---
2) Can I simply do this within the existing composite control? If so how?
Also, some additional resources explaining the functionality of server
controls within composite controls would be greatly appreciated...
I've perused the internet quite a bit but there does not seem to be clear
explanations available.
First, you'll have to pardon my very 'beginner' status on custom controls..
I'm creating a composite control that includes a listbox, and i want to be
able to add/remove items within it both in design time and runtime, just as
the default listbox behaves in the vs.net designer.
The 'ListItemCollection' property is read-only, and thus I don't know how to
enable this functionality either in design time or runtime. I tried creating
a public propery of type 'ListItemCollection' within the composite control,
yet in the vs.net designer (design time) it ignores any additional items I
attempt to add to the listbox.
1 ) If I create a object derived from the Listbox control, can I achieve
this functionality? If so, how? OR ---
2) Can I simply do this within the existing composite control? If so how?
Also, some additional resources explaining the functionality of server
controls within composite controls would be greatly appreciated...
I've perused the internet quite a bit but there does not seem to be clear
explanations available.