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.

Double Click Client Event triggering Twice

Thread ID:

Created:

Updated:

Platform:

Replies:

117319 Sep 26,2014 06:23 AM Sep 29,2014 07:15 AM ASP.NET Web Forms 1
loading
Tags: Diagram
Chong Yee Mei
Asked On September 26, 2014 06:23 AM

Hi, 

Would like to know why when we have a double click event on the diagram, it triggers correctly, but it is triggering twice every time it does.
Sample code as below:

function DoubleClick() {
//triggering twice
                var diagramObj = $("#DiagramControlDiagram").data("ejDiagram");
                positioned();

                var idNode = diagramObj.selectionList[0];
                console.log(idNode);

                var params = "{'id':'" + idNode.name + "'}";

                $.ajax({
                    type: "POST",
                    url: "pageViewer.aspx/GetNodeData",
                    data: params,
                    contentType: "application/json;charset=utf-8",
                    dataType: "json",
                    success: onSucess,
                    error: onError
                });


                
            }

//success
function onSucess(result) {
               
//Success event that is also triggering twice

            }

Shyam G [Syncfusion]
Replied On September 29, 2014 07:15 AM

Hi Chong

Thanks for using syncfusion products.

We have confirmed that the issue with Issue with elements double click event. is a defect and we have logged a defect report. The fix for this issue is estimated to be available on volume 3 release, which is scheduled to release in the month of October.

Please let me know if any concerns.

Regards,

Shyam G


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.

;