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

Disable bound RadComboBox item

1 Answer 71 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 31 Jul 2013, 06:09 PM
I'm sorry, but frankly this simply shouldn't be this difficult.

If you have a bound RadComboBox that isn't part of an MVVM structure it seems you have to go through an unreasonable amount of difficulty to disable selectable item(s) from the collection.  Please tell me I am missing something so simple I should be embarrassed because that would really be welcome at this point.

I understand you can bind it to a property, but for the sake of argument let's consider when you don't have that control which is quite often.
Some mighty administrator is providing you with a SQL EF model or endpoint. 

Is your only recourse to greatly change the business layer plumbing and you must add a property when all you want to do is disable (and not remove) an item in the control at index(x)?

1 Answer, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 05 Aug 2013, 10:51 AM
Hello,

In the current version of the RadComboBox control in order to disable specific items from being selectable you will need to set the IsEnabled property if the item. You can take a look at this article that shows all of the available approaches in achieving the desired behavior.

Unfortunately in the current version of the control it is no possible to disable specific items without setting theirs IsEnabled property. Please let us know if we can be of any further assistance on this matter.

Regards,
Vladi
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ComboBox
Asked by
Mark
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Share this question
or