Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Swapping control into a different parent

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);

Revisions


  

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

License

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

About the Author

AspDotNetDev
Web Developer
United States United States
  • Managing Your JavaScript Library in ASP.NET (if you work with ASP.net 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):

| Advertise | Privacy | Mobile
Web01 | 2.8.140709.1 | Last Updated 31 Jan 2011
Article Copyright 2011 by AspDotNetDev
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid