I have a link button attached to an on click event which sets a session variable.
Dependent on this variable i change content on the page.
I define these dynamic controls in the CreateChildControls() method of the asp page.
However my problem is that the CreateChildControls() is getting called before the on click event of the link button, there for the content is changing correctly
Is there a way to make it work the other way around... so on click event fired then create child controls.
Thanks