Hello There,
When I use the RadComboBox with multiple checkbox in it, I get the below exception
Unknown namespace http://schemas.telerik.com/2008/xaml/presentation
This code i picked up from Telerik forum.
<telerikInput:RadComboBox VerticalAlignment="Top" Width="200"
ItemsSource="{Binding DataItems, Source={StaticResource DataViewModel}}" SelectedIndex="0">
<telerikInput:RadComboBox.ItemTemplate>
<DataTemplate>
<CheckBox IsChecked="{Binding IsChecked, Mode=TwoWay}" Content="{Binding Text}" />
</DataTemplate>
</telerikInput:RadComboBox.ItemTemplate>
<telerikInput:RadComboBox.SelectionBoxTemplate>
<DataTemplate>
<TextBlock
Text="{Binding Owner.CheckedItems, Converter={StaticResource ValueConverter}}" />
</DataTemplate>
</telerikInput:RadComboBox.SelectionBoxTemplate>
</telerikInput:RadComboBox>
Below is the version of telerik installed
Telerik Silverlight VSExtensions 2011.01.414.0
Telerik RadControls for Silverlight VSExtensions Package
I want a Combobox with checkboxes to select multiple values and display it in the combobox all the multiple values that were checked in the checlbox. I looked in the forums and found some cases but it didn't work for me. i was getting errors like the above one.
I am able to show the values with checkboxes but i am not able to display the selected values in the combobox when the combobox is collapsed.
When i use
cmbAcct.SelectedItem = Obj;
it displays only one item and that too with the checkbox.
Any help is appreciated.