I have an Ajax AsyncFileUpload on one of my pages (inside a update panel). The control works, however I want the page to reload after the upload is complete. I tried a Response.Redirect
in the code behind for the OnUploadedComplete method and a location.reload(true)
in the OnClientUploadComplete. Both result in javascript alert of `Server Response Error: 'Unknown Server error'
Do you want to see the response page?` and the page doesn't refresh.
Has anyone been able to do a full page refresh after the upload has completed?
Edit: I mistakenly said the AsyncFileUpload is in a control panel, I meant to say update panel.
Use asp:FileUpload
control and register it as postback control with Scriptmanager's RegisterPostBackControl
method. Or add postback trigger entry for this FileUpload to Triggers collection of UpdatePanel