Dynamically created controls are wiped out on button click
<p>I have webform where a set of controls are generated in a Panel control during a SelectedIndexChanged event of a dropdown. That all works fine.</p>

<p>However, when I enter values in those controls and I click on my submit button, the controls are wiped out along with the data I entered.</p>

<p>I can only create the controls in that SelectedIndexChanged event because that's where I get the info to generate the dynamic controls.</p>

<p>What I'd like to do is keep those controls displayed with the data I entered and use the data I entered to do something else (like it happens in WinForms.)</p>

<p>Is this doable?</p>

<p>Thanks!</p>
