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

Grid custom popup editor showing javascript code in Grid 2012.2.710

2 Answers 175 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Koffi
Top achievements
Rank 1
Koffi asked on 16 Jul 2012, 02:51 PM
The sample code by Alexander Valchev posted at Grid Custom Popup Editor shows javascript code in the popup window when using kendoui 2012 Q2 release 2012.2.710. To reproduce, edit the html page to use version 2012.2.710, and click on one of the edit buttons.

2 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 19 Jul 2012, 11:13 AM
Hello Koffi,

This is a know issue which is already fixed and the fix will be available in the next internal build. Meanwhile to get the example working correctly with the 2012.2.710 version, you need to make the following change:
editable: {
    mode: "popup",
    //old: template: kendo.template($("#popup_editor").html())
    template: $("#popup_editor").html()
},

Here is a link to the updated fiddle:

Regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Bryan
Top achievements
Rank 1
answered on 28 Aug 2012, 03:50 PM
How would I apply this custom popup approach in a MVC project without using the server wrapper?
The HTML within the <script id="popup_editor" type="text/x-kendo-template"> tag is not recognized in my cshtml file.

Thanks,
-Bryan
Tags
Grid
Asked by
Koffi
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Bryan
Top achievements
Rank 1
Share this question
or