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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Best practice - OnClientNodeCollectionChange vs OnClientDrop ?

Thread ID:





119055 May 6,2015 09:23 PM UTC May 7,2015 11:22 AM UTC ASP.NET Web Forms 1
Tags: Diagram
Jim Jacobs
Asked On May 6, 2015 09:23 PM UTC


I have been using the drop handler for just that purpose - when the user drops a node on the canvas from a palette.  My current intention is to use the nodeCollectionChange handler to deal with additions caused by programmatic actions or user actions such as Copy/Paste.

Is there any suggested usage for when to use the nodeCollectionChange event?  Should I even bother with my drop handler? 

Any advice would be appreciated.



Senthil Kumar M [Syncfusion]
Replied On May 7, 2015 11:22 AM UTC

Hi Jim,

Thanks for using Syncfusion products.

We have provided the difference between nodeCollectionChange event and the drop event in the below tabular column.



Please note that nodeCollectionChange event will be triggered when you adding any new shapes onto the diagram at runtime. The nodeCollectionChange event will be triggered in the following scenarios.

1. Clipboard commands (Cut, Copy, Paste)

2. client side API methods “add” or “delete”.

3. Drag and Drop symbols from palette to canvas. (Please note that nodeCollectionChange event will be triggered once the shape entered into the canvas from palette).

You can use this event based on your requirement.

Drop event triggers when you dropped the symbols from palette to canvas.

Please refer the online class API reference link below


Please refer the online class API reference link below


Please let us know if any concerns.


Senthilkumar M


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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