I have a page that I am using to call all user controls at the time they are needed to perform different actions against the database. I have gotten the user controls to load at their proper times, however I am having some difficulty with one of the controls. The control in question has to be called at the time of page load but not rendered until asked for by the user. Nested in the control is another custom control for uploading a picture. When the user clicks the "Change Picture" link button the desired result is that the file upload control and save/cancel buttons become visible. However when the user clicks the "Change Picture" link button nothing happens on the first click, then on the second click the main user control closes. I have looked at alot of articles regarding nesting user controls but none of them describe how to make the control dynamic and persistent until it is not needed any longer.
Here is my code for the 2 user c ...
Go to the complete details ...