Hi,
Thanks to some code that you provided more that a year ago, I have been able to do the following:
protected void OnNodeClicked(object sender, NodeEventArgs e)
{
RectangleF bounds = RectangleF.Empty;
Header header = DiagramView1.Diagram.LaneGrid.GetHeaderFromPoint(e.MousePosition, ref bounds);
...
I now need to accomplish the same thing in Javascript.
However, if I try the following, the alert does not fire.
Any suggestions?
function onClientNodeClicked(sender, args)
{
var mousePos = args.getMousePosition();
alert('mousePos = ' + mousePos);
...
Here's the DiagramView declaration:
<ndiag:DiagramView ID="DiagramView1" runat="server" ClientSideMode="ImageMap" Behavior="DoNothing"
Height="100%" NodeClickedScript="onClientNodeClicked" OnCreatingAreaElement="DiagramView1_OnCreatingAreaElement"
LinkClickedScript="onClientLinkClicked" EnableViewState="true">
</ndiag:DiagramView>
Thanks in advance for any assistance.
Jim