This is a migrated thread and some comments may be shown as answers.

Persist uploaded files after redirecting to another page and returning

2 Answers 92 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Gautam
Top achievements
Rank 1
Gautam asked on 28 May 2020, 06:53 AM

Hello,

Is there a way to persist the uploaded files after redirecting to another page and returning?

Setting the PostbackTriggers property doesn't work as this is not a postback but a redirect and return.

I tried using session to do this by saving the UploadedFileCollection to session and setting it back after returning from a redirect but I can't find a way to set the UploadedFiles property of the RadAsyncUpload control in code behind. I know this behavior is not supported due to browser security.

Please let me know if there is any other way to do this.

Thanks.

2 Answers, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 01 Jun 2020, 01:43 PM

Hello Gautam,

Generally, the back button leads to a lot of issues in such applications. 

Unfortunately, keeping the uploaded files in the AsyncUpload across page navigation is not implemented and currently, the client would need to upload the files again. 

Regards,
Peter Milchev
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Gautam
Top achievements
Rank 1
answered on 01 Jun 2020, 05:31 PM

Hello Peter,

Thank you for the response.

Regards,

Gautam

Tags
AsyncUpload
Asked by
Gautam
Top achievements
Rank 1
Answers by
Peter Milchev
Telerik team
Gautam
Top achievements
Rank 1
Share this question
or