Disable bound RadComboBox item

2 posts, 0 answers
  1. Mark
    Mark avatar
    155 posts
    Member since:
    Oct 2010

    Posted 31 Jul 2013 Link to this post

    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)?
  2. Vladi
    Vladi avatar
    749 posts

    Posted 05 Aug 2013 Link to this post


    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.

    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 >>
Back to Top