This is a migrated thread and some comments may be shown as answers.

Kendo UI Grid Edit Popup Issue

3 Answers 55 Views
Grid
This is a migrated thread and some comments may be shown as answers.
William
Top achievements
Rank 1
William asked on 31 Mar 2014, 07:25 PM
I have a page with grid.  when I load the page directly, everything works fine. However, when I load the page into the other page, then I click edit button of the grid, the popup this error. I attached my example to reproduce the error. Thanks 

3 Answers, 1 is accepted

Sort by
0
Accepted
Kiril Nikolov
Telerik team
answered on 02 Apr 2014, 11:03 AM
Hello William,

The problem comes from the fact that when you use load() to get the content of the html page the jQuery and Kendo UI scripts are loaded more than once, which is incorrect. I would suggest you to load the content with $.get and then append the result to the page, so it will be correctly displayed and scripts will not duplicate. Please find the attached example, and let me know if it helps.

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
William
Top achievements
Rank 1
answered on 02 Apr 2014, 02:55 PM
Great! Thanks, Kiril. 
0
Kiril Nikolov
Telerik team
answered on 04 Apr 2014, 07:28 AM
Hi William,

I am glad it helped. 

In case you have any other questions, do not hesitate.

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
William
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
William
Top achievements
Rank 1
Share this question
or