Click here to Skip to main content
12,242,492 members (53,022 online)
Click here to Skip to main content

Tagged as



Swapping control into a different parent

, 31 Jan 2011 CPOL
Perhaps you need to remove the control from its old parent first? Something like:m_ctrlContainer.Parent.Controls.Remove(m_ctrlContainer);this.Controls.Add(m_ctrlContainer);



Compare Revision Minor Date Status Editor
2 - publicly available No 31-Jan-11 18:13 Available AspDotNetDev
1 No 31-Jan-11 18:11 Composing AspDotNetDev


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Web Developer
United States United States
  • Managing Your JavaScript Library in ASP.NET (if you work with and you don't read that, you are dead to me).
  • Graduated summa cum laude with a BS in Computer Science.
  • Wrote some articles and some tips.
  • DDR ("New high score? What does that mean? Did I break it?"), ping pong, and volleyball enthusiast.
  • Software I have donated to (you should too):

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160426.1 | Last Updated 31 Jan 2011
Article Copyright 2011 by AspDotNetDev
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid