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

Binding RadComboBox in a Template

1 Answer 17 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jack Helm
Top achievements
Rank 1
Jack Helm asked on 10 May 2010, 04:27 PM
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.

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 13 May 2010, 12:31 PM
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.
Tags
General Discussions
Asked by
Jack Helm
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or