q: 'composite' control: works fine, but no children @ design time ?

  • Thread starter Juri Zenkevitch
  • Start date
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top