save files in memorystream

2 posts, 0 answers
  1. yon
    yon avatar
    2 posts
    Member since:
    Mar 2019

    Posted 12 Mar Link to this post


    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)?



  2. Vessy
    Vessy avatar
    2011 posts

    Posted 15 Mar Link to this post

    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:

    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">

    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.
Back to Top