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

Discussion in 'ASP .Net Building Controls' started by Juri Zenkevitch, Apr 7, 2004.

  1. 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.
    Juri Zenkevitch, Apr 7, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    698
  2. lithoman
    Replies:
    0
    Views:
    313
    lithoman
    Aug 26, 2006
  3. Replies:
    1
    Views:
    350
    Teemu Keiski
    Jul 2, 2003
  4. Chad
    Replies:
    0
    Views:
    205
  5. Miguel Guerreiro

    ActiveX Control works fine in VB but not in ASP

    Miguel Guerreiro, Aug 8, 2003, in forum: ASP General
    Replies:
    0
    Views:
    105
    Miguel Guerreiro
    Aug 8, 2003
Loading...

Share This Page