Binding RadComboBox in a Template

2 posts, 0 answers
  1. Jack Helm
    Jack Helm avatar
    18 posts
    Member since:
    Jan 2010

    Posted 10 May 2010 Link to this post

    I am not sure which forum to post this in so I will start here.
    I have a Silverlight page that is utilizing some of the Telerik controls. I am using a Datatemplate in the UserControl.Resources section for a TabControl so that I can bind the Control to a list of items and have a different tab to every item in the collection. Inside of that DataTemplate I have all the controls that will appear on each of the tabs. One of these controls is a RadCombo box. I have a field I can bind it to but I am not understanding how I go about setting up what the other options in the box are to be. In several of the cases where I use these boxes they will only have 2 or 3 options and the choices will be hard coded.

    I am sure my inexpereince is showing here but how do I both give it a list of 2 or 3 hard coded options to choose from and bind the control so the correct option is selected when the overall template is called for the tab item?

    Edit--

    I just figured out this problem. Please ignore this post. Thank you.
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3299 posts

    Posted 13 May 2010 Link to this post

    Hello Jack Helm,

    We are glad that you managed to get it working.

    Please let us know if you need more info.

    Kind regards,
    Tina Stancheva
    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