Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 06, 2008 06:35 PM by nodfreitas
Mar 06, 2008 06:35 PM|LINK
I have a CompositeControl that I made, and it has some fixed Controls (Label, Buttons) and a Panel to put some content inside. I used the DesignerRegion and EditableDesignerRegion classes to make it possible to add content in the Design Mode at Visual Studio
(2005 using C#). It's working properly (thanks to you guys, I got a lot of information in another posts here).
Now I want to build another control that will have a collection of this controls (it's called MultPanel and the new one is MultPanelControl). I was able to create a MultPanelCollection Class and implement it as a property in my MultPanelControl. It's even
rendering the components in the Design Mode when I add one or more items on that collection.
But I have 2 major problems now. First, I cannot edit the content of my MultPanels in this collection, they are locked in design mode. Is it possible to make the Editable Region "editable" inside a collection? And second, the itens in the collection keep
losing their ID's when I change the edition mode (From Designer to Source and back again).
Any help is welcome.
Thanks in advance.