Is it possible to show RadGridView control in ComboBox DataTemplate ?
my requirement is , on selecting combo box i need to show comboBox content in such a way that user can short , can search the records. i think RadGridView having all these functionality. currently i am showing TextBlock. Please check my code and let me know where i need to do changes.
DataTemplate for combobox
<DataTemplate x:Key="FeatureComboBoxCustomTemplate" >
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="50" />
<ColumnDefinition Width="350" />
<ColumnDefinition Width="150" />
</Grid.ColumnDefinitions>
<Border >
<TextBlock Text="{Binding FeatureNumber}"
HorizontalAlignment="Left" />
</Border>
<Border Grid.Column="1" >
<TextBlock Text="{Binding FeatureName}" HorizontalAlignment="Left" Margin="6,0,0,0" />
</Border>
<Border Grid.Column="2" >
<TextBlock Text="{Binding UseCaseName}" HorizontalAlignment="Left" Margin="6,0,0,0" />
</Border>
</Grid>
</DataTemplate>
Combo BOx
<!--Feature Name-->
<telerik:GridViewComboBoxColumn
UniqueName="Feature Name"
SelectedValueMemberPath="FeatureID"
DisplayMemberPath="FeatureName" IsResizable="False"
DataMemberBinding="{Binding FeatureID,Mode=TwoWay}"
ItemTemplate="{StaticResource FeatureComboBoxCustomTemplate}"
Width="180"
IsReadOnlyBinding="{Binding Path=., Converter={StaticResource GridRowReadOnlyConvertor}}">
<telerik:GridViewComboBoxColumn.Header>
<StackPanel>
<TextBlock Text="Feature Name" VerticalAlignment="Center" TextWrapping="Wrap" />
<TextBlock Text="*" Foreground="Red" />
</StackPanel>
</telerik:GridViewComboBoxColumn.Header>
</telerik:GridViewComboBoxColumn>
thanks