Custom popup editor template

2 posts, 0 answers
  1. Fabio
    Fabio avatar
    25 posts
    Member since:
    Nov 2013

    Posted 30 Mar 2016 Link to this post


    i have a problem with custom my editable popup.

    The error is on k-editable, i can't use my template and the browser show me this error:

    Error: [$parse:lexerr] Lexer Error: Unexpected next character at columns 50-50 [#] in expression [{ 'mode': 'popup', 'template': 'kendo.template($('#popup_editor').html())' }].$parse/lexerr?p0=Unexpected%20next%20character%20&p1=s%2050-50%20%5B%23%5D&p2=%7B%20'mode'%3A%20'popup'%2C%20'template'%3A%20'kendo.template(%24('%23popup_editor').html())'%20%7D



    This is the html code:

    <div kendo-grid
             k-editable="{ 'mode': 'popup', 'template': 'kendo.template($('#popup_editor').html())' }"


    This is the template script:

    <script type="text/x-kendo-template" id="popup_editor">
            <p>Custom editor template</p>
            <div class="k-edit-label">
                <label for="FirstName">First Name</label>



    How can i solve it?

  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    2062 posts

    Posted 01 Apr 2016 Link to this post

    Hello Fabrizio,


    I am not able to replicate such problem with our Use AngularJS in Popup Editor Templates how-to project. This project allows defining custom UI for the popup editor and it works fine. 


    Boyan Dimitrov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top