I am trying to include RadComboBox inside RadExpander but I am getting "The property 'Content' is set more than once" error message. Below is the code, can you please help me?
<
telerikCommon:RadExpander Grid.Row="1" Grid.Column="0">
<telerikCommon:RadExpander.Header>
<TextBlock x:Name="SelectCompany" Text="Select Company" Visibility="Visible" />
</telerikCommon:RadExpander.Header>
<telerikCommon:RadExpander.Content>
<telerikCommon:RadWrapPanel x:Name="SelectCompanyPanel" IsAnimated="True"
AnimationDuration="333" Orientation="Horizontal"/>
<telerikInput:RadComboBox x:Name="CompanyComboBox" Width="200" Margin="4" Height="40" >
<telerikInput:RadComboBox.ItemTemplate>
<DataTemplate>
<StackPanel>
<TextBlock Text="{Binding Company}" />
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding CompanyName}" />
</StackPanel>
</StackPanel>
</DataTemplate>
</telerikInput:RadComboBox.ItemTemplate>
</telerikInput:RadComboBox>
</telerikCommon:RadExpander.Content>
</telerikCommon:RadExpander>
I was able to include RadTreeView without any issue but not combo box. Please help me at the earliest possible.
Thanks
Srinivas