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.

Knowing in javascript which node was clicked

Thread ID:

Created:

Updated:

Platform:

Replies:

77893 Nov 20,2008 07:29 AM Nov 26,2008 10:57 AM ASP.NET Web Forms (Classic) 2
loading
Tags: DiagramWebControl
Gustav Ringbom
Asked On November 20, 2008 07:29 AM

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 06:07 AM

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 10:57 AM

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.

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.

;