Disable Dropdown

2 posts, 0 answers
  1. Randy
    Randy avatar
    72 posts
    Member since:
    Jan 2009

    Posted 22 Sep 2015 Link to this post

    I am currently putting together a UI that uses Kendo drop down lists and Kendo combo boxes. Under certain circumstances I need to be able to disable them so they are no longer selectable.
    My current implementation has several of each that are created using the html helpers in razor views and I would like to be able to disable them in javascript. What would be the best way to
    do this? The items bound to some of the drop downs are sometimes complex objects so I still need access to the currently selected item when they are disabled.
  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1801 posts

    Posted 24 Sep 2015 Link to this post

    Hello Randy,

    Both of the widgets expose enabled method that could be used for disabling or enabling. Detailed information and examples for that method could be found in the following links:
    Hope this helps.


    Regards,
    Konstantin Dikov
    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
Back to Top