RequireJS: kendo.view.min depends on kendo.binder.min

2 posts, 0 answers
  1. Zachary
    Zachary avatar
    23 posts
    Member since:
    Feb 2013

    Posted 23 Apr 2013 Link to this post

    When using RequireJS to initialize kendo.view.min, IE10 returns error "Object doesn't support property or method 'bind'". The Kendo View does not work in both IE10 and Chrome unless kendo.binder.min is also included.

    Expected behavior: Kendo View should just work when kendo.view.min is included in the require line.

    The attached .zip contains one index.htm file where the Kendo View does not work until kendo.binder.min is moved inside the require line.

    <script>
        require(['jquery', 'kendo.view.min'], function ($) { // add 'kendo.binder.min' and the issue is fixed
                var login = new kendo.View("login-template");
                login.render("#application");
        });
    </script>

    <div id="application"></div>
     
    <script type="text/x-kendo-template" id="login-template">
        <div>This is the login template.</div>
    </script>
  2. Petyo
    Admin
    Petyo avatar
    2444 posts

    Posted 25 Apr 2013 Link to this post

    Hello Zachary,

    Thank you for notifying us. We will address this problem for our next internal build. I am updating your telerik points for this finding. 

    Kind regards,
    Petyo
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top