Disabling some Tools in the Toolbar results in error

2 posts, 0 answers
  1. Max
    Max avatar
    1 posts
    Member since:
    May 2015

    Posted 22 Jul 2015 Link to this post

    I have a toolbar with a dropdownlist in it, based on this example: http://demos.telerik.com/kendo-ui/toolbar/index

    When I try to disable the dropdownlist within the toolbar, I get the following error on the console:

    "TypeError: n.twin is not a function"

    I only see this error when I use the "Kendo 2015 Q2" library. "Kendo 2015 Q1 SP2" and previous do not issue an error

    See my snippet here: http://dojo.telerik.com/@dhughes/UqAci

    Please let me know what I am doing wrong. Any and all help is greatly appreciated!

  2. Alexander Valchev
    Alexander Valchev avatar
    2873 posts

    Posted 24 Jul 2015 Link to this post

    Hello Max,

    The DropDownList is a separate widget inserted via template. To disable it you should use its own API:
    The same applies for every template tool.

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