Button click event
<p>I have several instances of user controls on a page. They are also nested in each other. Since these controls are created dynamically, I am having trouble maintaining their state. I decided to save the state manually to a persistent medium (possibly Session).</p>

<p>On the click event on a button on the host page, I want to write functionality to save the state of the controls BEFORE the postback happens (Once there is a postback, the controls are recreated and I lose the state).</p>

<p>If I put this logic in the button event handler, since this is executed AFTER the postback, I dont have the information anymore.</p>

<p>Which method should I override?</p>
