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.
Is there any possibility to display confirmation box when user attempts to delete the node from the diagram (by pressing the key "Delete"). I'm trying to accomplish it in the following way: void EventSink_NodeCollectionChanging(CollectionExEventArgs evtArgs) { if (evtArgs.ChangeType == CollectionExChangeType.Remove) { DialogResult dialogResult = MessageBox.Show(""...);
} }
The main issue is when I'm trying to delete multiple items then the message box is displayed for each node which is being deleted. E.g. if I'm trying to delete 100 nodes this messagebox will be displayed 1000 times.
From other hands the following approach does not work too:
AMAjeet M Syncfusion Team February 2, 2009 09:09 AM UTC
Hi bgener,
As per the official policy, we will not be able to post the details about feature or defect fix and custom build information in public forums. We have noticed that you have an account in Direct Trac and you can use it to create a new incident, to which we could provide you the more appropriate details.
Let me know if you shall need any further clarifications in this regard.
Regards, Ajeet
EREric RobishawFebruary 10, 2009 11:22 PM UTC
At the start of NodeCollectionChanging ask the user if they want to delete the node and add an "Do the same for all nodes" option check box. Then, you apply the same logic to each changing event.
>Hi,
Is there any possibility to display confirmation box when user attempts to delete the node from the diagram (by pressing the key "Delete"). I'm trying to accomplish it in the following way: void EventSink_NodeCollectionChanging(CollectionExEventArgs evtArgs) { if (evtArgs.ChangeType == CollectionExChangeType.Remove) { DialogResult dialogResult = MessageBox.Show(""...);
} }
The main issue is when I'm trying to delete multiple items then the message box is displayed for each node which is being deleted. E.g. if I'm trying to delete 100 nodes this messagebox will be displayed 1000 times.
From other hands the following approach does not work too: