Clear the Runtime-Created Controls from a Panel vb.net
Posted on 2010-08-26
How do I clear the a variety of controls I created inside of a Panel?
In side the panel, I load (at runtime) a series of text boxes, lables, radio buttons and checkboxes, when the user clicks on a ListView item. if the user clicks on a different listview item, I need the contents of the panel cleared out - deleted, so that I can redraw the new controls that pertain to that listview item.
Hope this makes sense!
Thanks for your help!