Delete/Remove RadDock

3 posts, 1 answers
  1. JJ
    JJ avatar
    21 posts
    Member since:
    Jan 2008

    Posted 17 Mar 2008 Link to this post

    I've successfully created my RadDocks dynamically, but now I want to delete/remove them.  Using 'RadDockZone1.Controls.Remove(dock)' visibly removes the dock from my screen, but when I click my 'Save' button and loop through my RadDockZone, the 'removed' dock still exists.

    How do I remove it properly?

    Thanks,

    JJ
  2. Answer
    Obi-Wan Kenobi
    Obi-Wan Kenobi  avatar
    460 posts
    Member since:
    Aug 2007

    Posted 18 Mar 2008 Link to this post

    As far sa I know RadDock can  be Hidden/Showed(not removed). This behavior is controled by Closed property, or pressing the RadDock Close command.
    You create the controls dynamically, so if a RadDock is closed, you should not create it.
  3. JJ
    JJ avatar
    21 posts
    Member since:
    Jan 2008

    Posted 18 Mar 2008 Link to this post

    Thanks Master Kenobi.

    JJ
Back to Top