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

save files in memorystream

1 Answer 262 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
yon
Top achievements
Rank 1
yon asked on 12 Mar 2019, 12:29 PM

Hello!

1. How can I set the temporaryFolder to be in the MemoryStream?

2. I am using the control dynamically. That is, one control has several file selection buttons. The problem is that if the user wants to cancel / remove the file that is uploading then the entire line is deleted. How can I cancel / delete only the file and not the entire line (which has a title and a select button)?

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 15 Mar 2019, 12:34 PM
Hi Yon,

The current implementation of RadAsyncUpload does not allow storing the temporary files in a memory stream.

As per your second question, can you, please, elaborate a bit on the exact behavior you are facing? A video demonstrating the scenario along with the AsyncUpload setup you have will be very helpful in understanding the scenario better.

By design, the AsyncUpload does not remove the input for the canceled items, you can see a video demonstrating that here:
https://www.screencast.com/t/kuBcqR6HP

You can keep the count of the upload inputs the same with a similar setup (the code below will show always 3 inputs):
<telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" InitialFileInputsCount="3" MaxFileInputsCount="3" HideFileInput="false" AutoAddFileInputs="true">
</telerik:RadAsyncUpload>


Regards,
Vessy
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
AsyncUpload
Asked by
yon
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or