FileManager allowDragAndDrop not working

Hello, 

I'm trying to disable dragging files from Windows Explorer to FileManager control. 
I have set  allowDragAndDrop  property to "false" but still I'm able to drag and drop files 
from Windows Explorer to FileManager. Is there any other way to disable drag and drop?

Kind regards
Damian Szwajkos


2 Replies

KR Keerthana Rajendran Syncfusion Team December 8, 2021 10:47 AM UTC

Hi Damian, 
 
Thanks for contacting Syncfusion support.  
 
We checked your query and would like to mention that allowDragAndDrop property enable/disable drag and drop of files within File Manager component. To disable drag and drop from windows explorer to File Manager, we suggest you to set dropArea property through File Manager instance in created event.  
 
Refer to the following code. 
 
onCreate(args) { 
   this.fileManagerInstance.uploadObj.dropArea = null; 
  } 
 
 
Please let us know if you need further assistance. 
 
Regards, 
Keerthana R. 



SA Shameer Ali Baig Sulaiman Ali Baig Syncfusion Team December 8, 2021 03:14 PM UTC

Hi John, 

Thanks for your patience. 

We have confirmed that the reported issue with File Manager only occurs when the Authorization code is included in Blazor application. We face similar issue with Http Client call in default Blazor application as well. We have raised queries regarding this Http Client issue in general forums. We will track those forums to proceed further on this issue. We will also reach you, if we get any solution regarding this issue. 

We request you to track the general blog for updates regarding this issue. 


Regards, 
Shameer Ali Baig S. 



Loader.
Up arrow icon