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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Dialog content show in index.html

Thread ID:





120287 Sep 17,2015 01:36 PM UTC Sep 22,2015 04:09 AM UTC JavaScript 5
Tags: ejDialog
Kovács István
Asked On September 17, 2015 01:36 PM UTC


I use your dialog window in my angular project. I noticed a strange feature. I did an example which was attached "ej_modal_dialog.zip".
View2 page contains a modal dialog and I use ng-route.
If you open view2 page and after that open the view1 page the dialog content show in the index.html and added every time. You can see error messages ('l is not defined') in console log. Why?
I hope I am hearing from you as soon as possible.

Best reguards,

Attachment: ej_modal_dialog_d588fe5e.zip

Kovács István
Replied On September 17, 2015 01:37 PM UTC

I attached a picture from the issue.

Kovács István
Replied On September 17, 2015 01:39 PM UTC

Sorry but I didn't see the file extension. :)

Attachment: picture_ce3d27b5.zip

Selvamani Sankarappan [Syncfusion]
Replied On September 18, 2015 12:54 PM UTC

Hi Kovacs,
Thanks for Contacting Syncfusion Support,

We have analyzed the sample that you have provided. The cause of the issue is Dialog which is appended to the <body> tag. The content inside the “ng-scope” alone is replaced when we use partial view. Our EJ Dialog component will append to the <body> tag. To overcome this problem, use “e-content” property to render the Dialog within a container.  Also the error “I is undefined” will be resolved if you use the ej.widget.angular.min.js file version

We have modified the sample based on this, could you please check it?
Sample location

To know about the list of properties, methods, and events available in Dialog component please refer the following link:

Selvamani S

Kovács István
Replied On September 21, 2015 12:10 PM UTC

Hi, Selvamani Sankarappan,

Thanks for your answer.

Best regards,

Kovács István

Harikrishnan P [Syncfusion]
Replied On September 22, 2015 04:09 AM UTC

Hi Kovacs,
Thanks for your update. If you need further assiatnce, please get back to us and we will be happy to help you.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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