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.

Dialog content show in index.html

Thread ID:

Created:

Updated:

Platform:

Replies:

120287 Sep 17,2015 09:36 AM Sep 22,2015 12:09 AM JavaScript 5
loading
Tags: ejDialog
Kovács István
Asked On September 17, 2015 09:36 AM

Hi,

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,
István

Attachment: ej_modal_dialog_d588fe5e.zip

Kovács István
Replied On September 17, 2015 09:37 AM

I attached a picture from the issue.

Kovács István
Replied On September 17, 2015 09:39 AM

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

Attachment: picture_ce3d27b5.zip

Selvamani Sankarappan [Syncfusion]
Replied On September 18, 2015 08:54 AM

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 13.2.0.34.

We have modified the sample based on this, could you please check it?
Sample location
http://www.syncfusion.com/downloads/support/forum/120287/ze/ej_modal_dialog_d588fe5e19011423

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

http://help.syncfusion.com/js/api/ejdialog
Regards,
Selvamani S


Kovács István
Replied On September 21, 2015 08:10 AM

Hi, Selvamani Sankarappan,

Thanks for your answer.

Best regards,

Kovács István

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

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

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.

;