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.

Ej dialog error

Thread ID:

Created:

Updated:

Platform:

Replies:

119281 Jun 1,2015 06:54 AM Jun 5,2015 12:12 AM ASP.NET Web Forms 3
loading
Tags: Diagram
Alvin Phang
Asked On June 1, 2015 06:54 AM

Hi,

I am using ejDialog as pop-out.
Trigger event: Double click on a node
Dialog Content: loaded dynamically using jquery .load() function.

Problem:
Based on my observation, if the page to be loaded contains many "div" or elements, after DOUBLE-CLICK for the first time and close it, the second time when you try to DOUBLE-CLICK again the ejDialog will not pop out anymore.

However, if only few elements within the page, then DOUBLE-CLICK to have the ejDialog pop-out, close it, repeat it for many times also will not have any issue.

How can I solve this problem?

Remarks:
1. I have tried to simulate this issue in the sample code.  (DiagramBuilder.aspx)
2. As attached, under dashboard, I have created a new folder "Pages", to hold the dynamic page I want to display.
3. If I uncomment the commented line, the I will get the mentioned issue. 
4. But if I uncomment them, then no issue. 

Code snippet:

<div id="main-right">
<ej:Diagram ID="DiagramContent" runat="server" Height="100%" Width="100%" ></ej:Diagram>
  <ej:Dialog ID="DialogControlEditorDialog" Title="Node" CloseIconTooltip="Close" AllowDraggable="true"
   Width="850" runat="server" EnableModal="true" ShowHeader="true" EnableAutoResize="false"
   EnableResize="false" ShowRoundedCorner="true" ShowOnInit="false" CloseOnEscape="true">
   <DialogContent>
   <div id="dialogContentActivity"></div>
   </DialogContent>
</ej:Dialog>
</div>

function DoubleClick(argument) {

            var dialogObj = $("#DialogControlEditorDialog").data("ejDialog");

            if (dialogObj) {

                var dialogObjTitle = "Activity Details";

                dialogObj.option("title", dialogObjTitle);

                dialogObj.open();

                var url = 'Pages/Default.aspx';

                $('#dialogContentActivity').load(url, {
                    
                }, function () {

                    if (onSuccessLoadPage) {
                        onSuccessLoadPage();
                    }
                });

       }
}

As attached, are the video when I test on my own project, on the sample project and also the code I modified in the sample project.

Thank you.


Attachment: ejDialog_d104eb9c.zip

Shyam G [Syncfusion]
Replied On June 2, 2015 07:14 AM

Hi Alvin

Thanks for using Syncfusion products.

We were able to reproduce the problem and have logged defect report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Please let me know if you have any questions.

Regards,
Shyam G

Alvin Phang
Replied On June 4, 2015 09:56 PM

Thank you for the reply. Have a good day.

Shyam G [Syncfusion]
Replied On June 5, 2015 12:12 AM

Hi Alvin

Thanks for your update.

Please let me know if you require further assistance on this.

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.

;