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

Persist Uploaded Files across Postbacks While using custom handler

1 Answer 19 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Kiran
Top achievements
Rank 1
Kiran asked on 16 Jul 2014, 04:04 PM
I am using the radasyncupload control with a custom handler.  The custom handler uploads the files directly to a database. 

I am trying to get the control to persist these uploaded files across postback.  In the documentation it simply states that I need to set PostbackTriggers to the id of the button involved with submitting the form.  When I do that, the files are NOT persisted (the list of files already uploaded do not stay there). 

Is there something that I'm missing with this?  Is this a bug with persisiting files while using the custom handler?

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 21 Jul 2014, 12:48 PM
Hello,

Thank you for contacting Telerik Support.

Please find attached a sample project that implements very similar scenario. There are two button below the RadAsyncUpload control. The first one does post-back the page but the uploaded files are persisted as expected. Only the second button is set as RadAsyncUpload PostBackTriggers control so when this button is clicked the page does post-back but the files are cleared.

Hope that this will be helpful.

Regards,
Boyan Dimitrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
AsyncUpload
Asked by
Kiran
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or