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

    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

  2. Vessy
    Admin
    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:
    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.
Back to Top