Knowing in javascript which node was clicked

In my DiagramWebControl I have added javascript to the OnClientNodeMouseUp property like this:

OnClientNodeMouseUp="nodeClicked()"

The problem is that I have not been able to figure out which node was clicked in the nodeClicked function. Does anyone know how to do this?


2 Replies

AD Administrator Syncfusion Team November 21, 2008 11:07 AM UTC

Hi Gustav,

The Node's name can be accessed as follows:

Declare as:
---
OnClientNodeMouseUp = "MouseUp(this)"
---

Define function as :
---

---

I am confident this will resolve your query!

Happy Coding!

- Ajeet




GR Gustav Ringbom November 26, 2008 03:57 PM UTC

Yes that was what I needed. Thank you!


Loader.
Up arrow icon