Hi,
I have following style applied for all my RadMultiColumnComboBox controls (in the app.xaml):
<!--Telerik default DefaultTelerikRadMultiColumnComboBoxStyle--><Style x:Key="DefaultTelerikRadMultiColumnComboBoxStyle" TargetType="telerik:RadMultiColumnComboBox" BasedOn="{StaticResource RadMultiColumnComboBoxStyle}"> <!--<Setter Property="SelectionMode" Value="Single"/>--> <Setter Property="AutoCompleteMode" Value="Search"/> <Setter Property="FontFamily" Value="{StaticResource DefaultFont}"/> <Setter Property="FontSize" Value="{StaticResource DefaultFontSize}"/> <Setter Property="FontWeight" Value="{StaticResource DefaultFontWeight}"/> <Setter Property="MinHeight" Value="{StaticResource DefaultMinimumHeight}"/> <Setter Property="KeepDropDownOpen" Value="False"/> <Setter Property="CloseDropDownAfterSelectionInput" Value="True"/> <Setter Property="SelectionBoxesVisibility" Value="Visible"/> <Setter Property="Validation.ErrorTemplate" Value="{StaticResource ErrorTemplate}"/> <Style.Triggers> <Trigger Property="IsEnabled" Value="True"> <Setter Property="Background" Value="{StaticResource DefaultTextBoxBackgroundColor}"/> </Trigger> <Trigger Property="IsEnabled" Value="False"> <Setter Property="Background" Value="Red"/> </Trigger> <Trigger Property="IsFocused" Value="True"> <Setter Property="Background" Value="{StaticResource DefaultTextBoxIsFocusedBackgroundColor}"/> </Trigger> </Style.Triggers></Style><Style TargetType="{x:Type telerik:RadMultiColumnComboBox}" BasedOn="{StaticResource DefaultTelerikRadMultiColumnComboBoxStyle}"/>
With this style applied, I get this error in my XAML files (see attached file): The element "[RadMultiColumnComboBox]" could not be displayed because of a problem with System.Windows.StaticResourceExtension: CollectionView must have value. Parameter name: collectionView.
The error is provoced by the setter of the AutoCompleteMode. The error disappears when this setter is deleted.
Setting the AutoCompleteMode directly on a RadMultiColumnComboBox (with the style applied) does not cause any problems.
Any ideas ??
Regards,
Hans
