We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Delete node event

Thread ID:

Created:

Updated:

Platform:

Replies:

92624 Jan 27,2010 10:00 AM UTC Feb 1,2010 11:27 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: DiagramWebControl
Javi Garrido
Asked On January 27, 2010 10:00 AM UTC

Hello,

I need to know if a user delete something in the diagram.

Are there any event to know where the user delete a node?
Or user uses supr key?

Thank you.

Dinesh M [Syncfusion]
Replied On February 1, 2010 11:27 AM UTC

Hi Javi,

You can detect nodes being delted/inserted to the Model by means of the NodeCollectionChanged event.

AddHandler Diagram1.Model.EventSink.NodeCollectionChanged, AddressOf EventSink_NodeCollectionChanged

Private Sub EventSink_NodeCollectionChanged(ByVal evtArgs As CollectionExEventArgs)

End Sub

You can detect the supr(Delete) key from the diagram's keydown event if needed.

Please download the sample explaining it from the link below.

http://help.syncfusion.com/support/Diagram.Windows/Incidents/NodeDelete/Diagram_WF_Delete.zip

Regards,
Dinesh

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;