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

Knowing in javascript which node was clicked

Thread ID:

Created:

Updated:

Platform:

Replies:

77893 Nov 20,2008 12:29 PM UTC Nov 26,2008 03:57 PM UTC ASP.NET Web Forms (Classic) 2
loading
Tags: DiagramWebControl
Gustav Ringbom
Asked On November 20, 2008 12:29 PM UTC

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?


Administrator [Syncfusion]
Replied On 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



Gustav Ringbom
Replied On November 26, 2008 03:57 PM UTC

Yes that was what I needed. Thank you!


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

;