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.
eNode.SourceNode.ParentTreeView.id and eNode.TargetNode.ParentTreeView.id are not returning anything. How to get the treeview id of the source and target node so that if both the id's are same (means they belong to same treeview) then i can stop dropping it.
GBGokul B Syncfusion Team June 26, 2007 08:47 PM UTC
Hi Neeraja,
We can able to reproduce the issue as you mentioned. We noticed that Source and target node ID of the treeview could not be retrieved trough client side while droping.
It seems to be a bug. Could you please open a new Direct-Trac incident with "Forum ID- Forum Subject" as a subject line to proceed towards the bug fix.
Please have a look at the below code snippet if you need to disable the node DragandDrop for a treeview.
//Disable the node drag and drop TreeView1.DragAndDropEnabled=false;
Thanks for using Syncfusion product.
Regards, Gokulkumar B
LDLakshmi DuvvuriJune 27, 2007 06:55 AM UTC
Hi Gokulkumar,
Thanks for the update. I have posted it as a new incident in direct trac
Here, TreeView1.DragAndDropEnabled=false is not a solution as this will totally disable the drag and drop feature in treeview1. But we require drag and drop from treeview1 to treeview2 but not from treeview1 to treeview1(i.e within the same treeview drag and drop should not happen)
Thanks, Neeraja
>Hi Neeraja,
We can able to reproduce the issue as you mentioned. We noticed that Source and target node ID of the treeview could not be retrieved trough client side while droping.
It seems to be a bug. Could you please open a new Direct-Trac incident with "Forum ID- Forum Subject" as a subject line to proceed towards the bug fix.
Please have a look at the below code snippet if you need to disable the node DragandDrop for a treeview.
//Disable the node drag and drop TreeView1.DragAndDropEnabled=false;