This question is locked. New answers and comments are not allowed.
Hi Team,
I have a ComboBox with multiple Selection using checkbox template but I am failed to implement "searchable".
When I make combobox searchable using properties in xaml like
IsEditable="True"
telerik:TextSearch.TextPath="Text"
This leads to problem, I can not see selected items on SelectionBoxTemplate.
Please help me to solve this, below is my xaml code
The code for multiple select combo box is found from
http://www.telerik.com/community/code-library/silverlight/general/a-multiselect-combobox.aspx
I have a ComboBox with multiple Selection using checkbox template but I am failed to implement "searchable".
When I make combobox searchable using properties in xaml like
IsEditable="True"
telerik:TextSearch.TextPath="Text"
This leads to problem, I can not see selected items on SelectionBoxTemplate.
Please help me to solve this, below is my xaml code
<
telerik:RadComboBox
Margin
=
"10"
MaxWidth
=
"230"
x:Name
=
"ComboData"
Visibility
=
"Collapsed"
telerik:StyleManager.Theme
=
"Office_Blue"
SelectedIndex
=
"0"
EmptyText
=
"Select an Item..."
IsEditable
=
"True"
telerik:TextSearch.TextPath
=
"Text"
VerticalAlignment
=
"Center"
HorizontalAlignment
=
"Left"
>
<
telerik:RadComboBox.ItemsPanel
>
<
ItemsPanelTemplate
>
<
VirtualizingStackPanel
/>
</
ItemsPanelTemplate
>
</
telerik:RadComboBox.ItemsPanel
>
<
telerik:RadComboBox.ItemTemplate
>
<
DataTemplate
>
<
CheckBox
Content
=
"{Binding Path=Text}"
IsChecked
=
"{Binding Path=IsSelected,Mode=TwoWay}"
Height
=
"16"
HorizontalAlignment
=
"Left"
Margin
=
"2"
VerticalAlignment
=
"Top"
/>
</
DataTemplate
>
</
telerik:RadComboBox.ItemTemplate
>
<
telerik:RadComboBox.SelectionBoxTemplate
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding ElementName=ComboData, Path=ItemsSource.SelectedItemsText}"
/>
</
DataTemplate
>
</
telerik:RadComboBox.SelectionBoxTemplate
>
</
telerik:RadComboBox
>
The code for multiple select combo box is found from
http://www.telerik.com/community/code-library/silverlight/general/a-multiselect-combobox.aspx