troubleshooting Question

UpdatePanel - File Upload doesn't work with UpdatePanel

Avatar of Camillia
CamilliaFlag for United States of America asked on
5 Comments2 Solutions2704 ViewsLast Modified:
I'm using Telerik's RadUpload control. I have a lot more controls like textboxes, calendar, checkboxes, etc on the page.
It's a job site project.

When I wrap the entire page in an UpdatePanel, the file upload doesnt work. Doesnt upload a file. I step thru it and
i see it's hitting the code but nothing happens.

When I remove the updatePanel, i can upload fine..

How can I make this work? Should I NOT wrap the file-upload section in an UpdatePanel but wrap the rest of the page in an updatePanel?(dont like doing that tho)

<td align="left" valign="middle">
                 <telerik:RadUpload runat="server"  Skin="Vista"   MaxFileInputsCount="1" InitialFileInputsCount="1"
                     ControlObjectsVisibility="ClearButtons" AllowedFileExtensions=".doc,.docx,.pdf,.odt,.rtf" 
                     TargetFolder="~/hrtest" OverwriteExistingFiles="true"
                     TabIndex="16" ID="formUPLOAD"  ></telerik:RadUpload>

protected void btnSubmitUpload_Click(object sender, EventArgs e)

        if (formUPLOAD.UploadedFiles.Count > 0)
            // this is all i have here. But it still does work without any more code.



Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 2 Answers and 5 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 2 Answers and 5 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