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.