This is a migrated thread and some comments may be shown as answers.

Disable Dropdown

1 Answer 617 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Randy
Top achievements
Rank 1
Randy asked on 23 Sep 2015, 02:28 AM
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.

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 24 Sep 2015, 07:21 AM
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!
 
Tags
DropDownList
Asked by
Randy
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or