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. Image for the cookie policy date

Identify Nodes on Client Side after Click

Hi,

I have a diagram with nodes on. When the User clicks on a node (either left or right click), I want to fire a client side javascript event, without doing a postback or callback, but want to identify which node has been clicked. I know you inject JSON notations "NODES" object into the code, but I do not know the arguments you pass to my javascript method from OnClientNodeClick.

Also, depending on which node has been clicked, how do I cancel the subsequent callback and do some processing on the client side online?

Thanks,

Pete


1 Reply

MW Melba Winshia Syncfusion Team November 23, 2007 11:06 AM UTC

Hi Peter,

Thank you for your interest in Syncfusion Products.

You can refer the below sample that we ship with Essential Diagram to get more details on client side functionalities:

C:\Documents and Settings\melbas\My Documents\Syncfusion\EssentialStudio\5.2.0.25\Web\diagram.web\Samples\2.0\BasicFeatures\ClientSideFunctionalities\cs

Please try this and let me know if this helps.

Thanks,
Melba


Loader.
Live Chat Icon For mobile
Up arrow icon