Drag and Drop text in to the document editor

Would like to achieve the drag and drop functionality over the document editor (like dragging a text from one control in to the document editor).

I tried with ondrop event as shown below and it throws error.

 <DocumentEditorContainerEvents @ondrop="OnDocumentContainerDrop" ></DocumentEditorContainerEvents>


Error Message : 
Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
      Unhandled exception rendering component: Object of type 'Syncfusion.Blazor.DocumentEditor.DocumentEditorContainerEvents' does not have a property matching the name 'ondrop'.
System.InvalidOperationException: Object of type 'Syncfusion.Blazor.DocumentEditor.DocumentEditorContainerEvents' does not have a property matching the name 'ondrop'.

Can you suggest me with the right way of implementation ?


7 Replies

SM Suriya Murugan Syncfusion Team January 4, 2021 11:32 AM UTC

Hi Ragull, 

Syncfusion Greetings! 

DocumentEditor component does not have drag and drop support. So, we couldn’t use drop event in DocumentEditor. 
 
Please refer the below KB which is in ASP.NET MVC.  
 

Please check it and currently, we are checking the drop implementation for DocumentEditor in blazor platform and we will update further details on or before January 6,2021.  
 
Regards, 
 
Suriya M. 



RS Raghull Sethuraman January 15, 2021 02:41 PM UTC

can i get a update on this please ?


KB Kurthis Banu Abdul Majeeth Syncfusion Team January 18, 2021 11:44 AM UTC

Hi Ragull,  
  
We are sorry for the inconvenience; we need  additional timeline for drop implementation for DocumentEditor in blazor platform. 
  
We will check and update details without any further delay Jan 20, 2021.  
  
  
Regards, 
  
Kurthis Banu A. 



KB Kurthis Banu Abdul Majeeth Syncfusion Team January 22, 2021 01:22 AM UTC

Hi Ragull,   
   
We are sorry for the inconvenience, 

currently we are analyzing on this will get to you with the details Jan 26, 2021. 
   
   
   
Regards,  
   
Kurthis Banu A.  



KB Kurthis Banu Abdul Majeeth Syncfusion Team January 28, 2021 04:40 PM UTC

Hi Ragull,   
   
We are sorry for the inconvenience, 

We facing difficulties drop event in blazor platform. we need additional timeline for drop implementation for DocumentEditor in blazor platform.  
   
We will check and update details without any further delay Feb 2, 2021.   
   
   
Regards,  
   
Kurthis Banu A.  




KB Kurthis Banu Abdul Majeeth Syncfusion Team February 3, 2021 04:59 PM UTC

Hi Raghull, 

We deeply regret for the inconvenience caused.  

We tried some approach to drag and drop event in blazor platform. We are currently checking on that. We will update the further proceedings by Feb 5, 2021.  

Regards,   

Kurthis Banu A.   



KB Kurthis Banu Abdul Majeeth Syncfusion Team February 5, 2021 12:58 PM UTC

Hi Raghull, 

Thank you for your patience.  

 In Blazor SFListBox there no support for dragging an item outside of SfListBox. so, we are not able to achieve drag and drop functionality over the document editor in blazor  platform. 

so, please share the details of which component are you using for dragging an item. which will be helpful for us to investigate further and provide you the solution at the earliest.   


Regards, 

Kurthis Banu A. 


Loader.
Up arrow icon