troubleshooting Question

FileUploader for Image inside user control, inside accordion,  inside update panel

Avatar of Strychtur
StrychturFlag for Canada asked on
AJAX
9 Comments1 Solution320 ViewsLast Modified:
Hi All,

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?
ASKER CERTIFIED SOLUTION
leakim971
Multitechnician
Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros