N
Nathan Phelps
I cannot, for some reason, get the CollectionEditor to deal with my child Controls in a strongly typed manner. I can add and remove items at design time, but it treats them as System.Object. What am I missing
-- My Strongly typed collection class Implements IList and includes the Editor(typeof(MyCollectionEditor), typeof(UITypeEditor)) attribute at the class leve
-- My WebControl class includes the following attributes
[ToolboxData("<{0}:NavigationPane runat=server></{0}:NavigationPane>")
DefaultProperty("Groups"), ParseChildren(true, "Groups")
-- My WebControl class method that returns the strongly typed collection includes the following attributes
[Bindable(true), Description("The collection of groups."), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), NotifyParentProperty(true), PersistenceMode(PersistenceMode.InnerDefaultProperty
What am I missing?
-- My Strongly typed collection class Implements IList and includes the Editor(typeof(MyCollectionEditor), typeof(UITypeEditor)) attribute at the class leve
-- My WebControl class includes the following attributes
[ToolboxData("<{0}:NavigationPane runat=server></{0}:NavigationPane>")
DefaultProperty("Groups"), ParseChildren(true, "Groups")
-- My WebControl class method that returns the strongly typed collection includes the following attributes
[Bindable(true), Description("The collection of groups."), DesignerSerializationVisibility(DesignerSerializationVisibility.Content), NotifyParentProperty(true), PersistenceMode(PersistenceMode.InnerDefaultProperty
What am I missing?