ThemeBuilder does not work with web bundle

3 posts, 1 answers
  1. Luciano
    Luciano avatar
    12 posts
    Member since:
    Jul 2013

    Posted 25 Jul 2013 Link to this post

    Hi,

    Recently I've noticed that ThemeBuilder stopped working for me.
    I see that it works fine with kendo.all.min.js but not with kendo.web.min.js (anymore).

    Chrome reports :
    "Uncaught TypeError: Object [object Object] has no method 'registerTheme' "
     while Firefox reports:
    "TypeError: r.kendo.dataviz.ui.registerTheme is not a function @ http://themebuilder.kendoui.com/scripts/themebuilder.all.min.js:2"
    and ThemeBuilder is only partially rendered.

    Broken with kendo.web.min.js:
    http://jsfiddle.net/36pqQ/1/
    http://jsfiddle.net/5rz2y/2/
    Working with kendo.all.min.js:
    http://jsfiddle.net/SQsqF/2/

    Can anyone shine some light on this?
  2. Answer
    Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 26 Jul 2013 Link to this post

    Hello Luciano,

    The registerTheme is method used by Kendo UI DataViz and the current implementation of the ThemeBuilder required to use kendo.all.min.js file (which contains both web and dataviz scripts). After further discussion with the team we decided to provide an option to use the separate files - the ThemeBuilder will be updated at the end of the upcoming week.

    Regards,
    Iliana Nikolova
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Luciano
    Luciano avatar
    12 posts
    Member since:
    Jul 2013

    Posted 05 Aug 2013 Link to this post

    Thank you. Now it works fine again.
Back to Top