As the tittle says, I have a FileUpload control in a user control. When the user clicks the upload button I want to upload the image into an image control in the same user control. The user control resides in an accordion control which also resides in an update panel set as update mode = conditional and child triggers = false.
The problem I'm have is when the upload button is clicked inside the user control causing a postback
the FileUpload control looses the selected file. FileUpLoad.FileName = "" inside the click event function of the button. Why and how do I get around it?