-
JJ
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
-
-
Answer
Obi-Wan Kenobi
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.
-
-
JJ
21
posts
Member since:
Jan 2008
-