Bind Domain Source as well as adding items through code behind to single radcombobox

2 posts, 0 answers
  1. Sagar
    Sagar avatar
    17 posts
    Member since:
    Sep 2010

    Posted 02 Nov 2010 Link to this post

    Can we attach domain data source (ria control) and also add items through code behind to one rad combo box in Silverlight?

    Suppose I've have domain source which returns list of employees which I've bound to RadComboBox (Through xaml)
    and in code behind,on certain condition i want to append keyword "Inactive" before employee name.
    ComboBox Items-

    and want to show
    Inactive Kate

  2. George
    George avatar
    1332 posts

    Posted 05 Nov 2010 Link to this post

    Hi Sagar,

    I would suggest you to use a MVVM pattern in order to accomplish this. You could bind the RadComboBox to an object and change the Name of the Employee in the ViewModel. For more information about populating the RadComboBox with data, please refer to our online documentation - 

    I hope this helps.

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top