Feb 29, 2008 10:56 AM|Edgars.Cizevskis|LINK
PanelContainerDesigner is made for Panel class or any other who inherit it ... so if my control is no panel i got "Error Creating Control: Value must be of type 'System.Web.UI.WebControls.Panel. Parameter name: component" ... and still it should be EditableDesignerRegion
I did reduced ContainerControlDesigner in my inherited designer to not show header and dont apply its own styles and in override SetEditableDesignerRegionContent() i commented base class function ... so i got area like panel with editable content containing
all UserControls and it doesnt change ASP code and just refresh to default ... but thats not really im interested in to know. These editable regions some how loading content of any control and it is shown (maybe using something like ControlPersister) and that's
what i wish to know if someone have such knowlage and could share. Because i just trying to learn what Designer can do and what can i do with it! :) But thanks for feedback.