J
Juri Zenkevitch
Hi All !
I have my control, which populates inner ControlCollection via custom
control builder and AddParsedSubObject function.
Everything works fine, but at the design time something goes really wrong:
when the GetDesignTimeHtml being called, the children objects of my control
are "gone" - nothing in the collection...
The main control have attributes: ParseChildren(false),
PersistentChildren(true)
The collection have following attributes:
DesignerSerializationVisibility(Content), NotifyParentProperty(true),
PersistenceMode(InnerProperty).
AFAIK, all these attributes should make the designer at least keep the
collection of children populated (it does the population, but some time
later it just becomes empty, but it does not
Any ideas ?
Thank you,
Yury.
I have my control, which populates inner ControlCollection via custom
control builder and AddParsedSubObject function.
Everything works fine, but at the design time something goes really wrong:
when the GetDesignTimeHtml being called, the children objects of my control
are "gone" - nothing in the collection...
The main control have attributes: ParseChildren(false),
PersistentChildren(true)
The collection have following attributes:
DesignerSerializationVisibility(Content), NotifyParentProperty(true),
PersistenceMode(InnerProperty).
AFAIK, all these attributes should make the designer at least keep the
collection of children populated (it does the population, but some time
later it just becomes empty, but it does not
Any ideas ?
Thank you,
Yury.