Switch stays enabled?

10 posts, 0 answers
  1. Stefan
    Stefan avatar
    14 posts
    Member since:
    Dec 2013

    Posted 04 Mar 2014 Link to this post

    I have a problem with using the switch widget in. When I set the data-enable="false" in the switch and run the program. The switch can still be set on or off.  I thought the enable="false" option should disable that feature? I have tried running it on iphone with ios 7 and android 4.2 and they both have this problem. Can anyone help?
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 05 Mar 2014 Link to this post

    Hello Stefan,

    I have tested the functionality and it seems to be working as expected. Please check the following demo:

    http://jsbin.com/kanat/1/edit

    I have tested it both on iOS7 and Android KitKat devices.

    Regards,
    Kiril Nikolov
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Stefan
    Stefan avatar
    14 posts
    Member since:
    Dec 2013

    Posted 14 Mar 2014 Link to this post

    I  tested the online demo and it works fine there, However when I started the project I got  Kendo UI Mobile v2013.2.1021  as version. (this is where the switch always stays enabled). When i created a new project which has  v2013.3.1507 as version and copied all the files from the old project. the switch button handles as expected, however my icons and modalviews wont work in the new version and I get the error : Object # <Object> has no method "appLevelNativseScrolling" from http://local/simulator/kendo/js/kendomobile.min.js:16.

    So is it possible that the switch wont work in version 2013.2.1021 and how can I make it work? Alternatively I could port over the code to the newer version but how do i solve the icons, modalview and error problem?
  5. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 17 Mar 2014 Link to this post

    Hello Stefan,

    There was an issue with the switch not changing its style when toggled in the 2013.2.1021 version, this issue has been resolved in the latest version, so you should stick with it. As for the error that you are getting:

    Object # <Object> has no method "appLevelNativseScrolling" 

    This does not seem to be related to the Kendo UI framework, as there is no such method implemented. But it looks like a typo made with calling the method, did you try with "appLevelNativeScrolling" (removing the "s" in the Native)?

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  6. Stefan
    Stefan avatar
    14 posts
    Member since:
    Dec 2013

    Posted 17 Mar 2014 in reply to Kiril Nikolov Link to this post

    Hi Kiril,

    It was a typo in my post but the error still stands with Object # <Object> has no method "appLevelNativeScrolling"  error
  7. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 18 Mar 2014 Link to this post

    Hello Stefan,

    I am afraid that without the code where this error is thrown I am not able to tell you what exactly is the issue. Could you please provide us with a sample, where the issue is reproduced, so we can take a look at and advise you further?

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  8. Stefan
    Stefan avatar
    14 posts
    Member since:
    Dec 2013

    Posted 18 Mar 2014 in reply to Kiril Nikolov Link to this post

    I have submitted a support ticked with the code attached.
  9. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 20 Mar 2014 Link to this post

    Hello Stefan,

    Thank you very much for the provided information. 

    The issue is fixed in the latest build, so please upgrade the project and let us know if the problem is fixed.

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  10. Christoph
    Christoph avatar
    15 posts
    Member since:
    Aug 2013

    Posted 24 Mar 2014 Link to this post

    Hi all,
    I also get the same error (# <Object> has no method "appLevelNativseScrolling") when using the predefined project template. So the fixes have not been rolled out?

    Christoph
  11. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 25 Mar 2014 Link to this post

    Hi Christoph,

    If you are talking about the predefined AppBuilder template, there is a detailed explanation about the issue in the following forum topic. Please check it out and if you have any questions, please contact us:

    http://www.telerik.com/forums/object-object-has-no-method-'applevelnativescrolling'

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready