The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
ILIndhumathy Loganathan Syncfusion Team April 23, 2021 12:00 PM UTC
Hi Daniel,
We have validated your requirement in FileManager component. We understood that you want to perform drag and drop for a specific folder in TreeView and wants to prevent drag and drop for other folders. You can achieve this by using fileDragStop event in FileManager. Please check the below code snippet.
function fileDragStop(args) {
var Folder = args.target.closest(".e-list-item").querySelector(".e-list-text").innerText;
if (Folder != "Music") {
args.cancel = true;
}
}
In the above code, We have only enable drag and drop for the “Music” folder. Please find the sample demonstrating the solution from below link.
Please check the sample and revert to us if you need any further assistance.
Regards,
Indhumathy L
DHDaniel HulseApril 23, 2021 02:30 PM UTC
Hello and thank you for your reply and the sample code.
I was actually wondering about dropping a file outside of the browser into the tree list section of the file manager. So for example, drag/dropping a PDF document from the desktop into a folder on the left tree list section, rather than dropping it on the file list section.
ILIndhumathy Loganathan Syncfusion Team April 26, 2021 03:22 PM UTC
Hi Daniel,
Sorry for the inconvenience.
We have validated your requirement in FileManager component. We understood that you want to drag a file from the desktop and drop it inside FileManager navigation pane. Currently, we have support to drop the files in Main layout pane (in right side of the FileManager). However, we have considered your request as a feature and this will be included in any of our upcoming releases. Generally, we will plan any feature implementation based on customer request count, feature rank and Wishlist plan.
You can track the status of this feature implementation through the below link,