SfUploader Ability to Multiselect Files AND Folder
Hi Syncfusion Support,
the SfUploader has a Property "DirectoryUpload", which allows to select a folder including all files.
I want to achieve to be able to select Folders AND Files (in a Windows 10) like Explorer view:
Is it possible to add this in a kind of control to SFUploader and for the filemanager ?
(For the Filemanager that would be control i would love to see. .. )
It would be great if you could provide it soon. Or do you know an workaround for that ?
Uploader:
Please refer the below sample code snippets. In this sample we have rendered the checkbox component with uploader component. When you enable/disable the checkbox then DirectoryUpload API value will change. You can easily control the Directory and File uploads with this.
|
@page "/" @using Syncfusion.Blazor.Inputs
@using Syncfusion.Blazor.Buttons <div>DirectoryUpload </div>
<SfCheckBox @bind-Checked="@directryUpload" TChecked="bool" /> <div class="col-lg-12 control-section">
<div class="control_wrapper">
<SfUploader ID="UploadFiles" DropArea=".control-fluid" AutoUpload="false" DirectoryUpload="@directryUpload">
<UploaderAsyncSettings SaveUrl="https://aspnetmvc.syncfusion.com/services/api/uploadbox/Save" RemoveUrl="https://aspnetmvc.syncfusion.com/services/api/uploadbox/Remove"></UploaderAsyncSettings>
</SfUploader>
</div>
</div> @code {
public bool directryUpload { get; set; } = false;
} |
Please check the solution and let us know if you have any concerns.
Hi Gunasekar,
i thank you for your quick response.. I am happy to hear thats its already at the pipeline. I will follow that track status.. but i cant see any concrte timeline
Thank you for you sample. In the meanwhile i will use that.
For others who are interested in this feature please upvote at the given link :
https://www.syncfusion.com/feedback/10089/upload-folder-support-in-file-manager-component
- 3 Replies
- 3 Participants
-
HU huskaner
- Sep 18, 2021 05:22 PM UTC
- Sep 21, 2021 12:38 PM UTC