Hello Telerik,
Exception is thrown after typing in the autocompletebox and selecting an item right after that.
Thanks in advance.
If you host RadMultiColumnComboBox in a control with a vertical ScrollViewer, then open the popup content of the RadMultiColumnComboBox and use the mouse wheel in it, the parent ScrollViewer scrolls. In comparison RadComboBox and the native WPF ComboBox are not scrolling. Instead the scrolling event is consumed and it doesn't propagate to the parent ScrollViewer.
The attached project shows one way to work this around.
If set the AutoCompleteMode property in a Style Setter, and exception is thrown.
To work this around set the property directly on the control.
<telerik:RadMultiColumnComboBox AutoCompleteMode="Search" />
The following error is thrown when the dropdown of the control is opened: Cannot find governing FrameworkElement or FrameworkContentElement for target element. ... ; target element is 'GridViewItemsSourceProvider; target property is 'ItemsSource' (type 'Object')
If the combobox is placed inside a RadGridView, the error is thrown each time the dropdown is opened (after a commit action).
The Validation.ErrorTemplate attached property is not set. To workaround this, you can use the following resource.
<ControlTemplate x:Key="ValidationTooltipTemplate">
<Grid SnapsToDevicePixels="True" VerticalAlignment="Top">
<Border Background="Transparent" HorizontalAlignment="Right" VerticalAlignment="Top" Width="3" Height="3"/>
<AdornedElementPlaceholder x:Name="Holder"/>
<Border BorderBrush="{StaticResource ValidationTooltipOuterBorder}" BorderThickness="1" CornerRadius="{StaticResource ValidationTooltip_CornerRadius}"/>
<Path Data="M2,1 L6,1 6,5 Z" Fill="{StaticResource ValidationInnerTick}" Width="7" Height="7" HorizontalAlignment="Right" VerticalAlignment="Top"/>
<Path Data="M0,0 L2,0 7,5 7,7 Z" Fill="{StaticResource ValidationOuterTick}" Width="7" Height="7" HorizontalAlignment="Right" VerticalAlignment="Top"/>
<ToolTipService.ToolTip>
<ToolTip x:Name="PART_ToolTip"
DataContext="{Binding RelativeSource={RelativeSource Mode=Self}, Path=PlacementTarget.DataContext}"
Template="{StaticResource ErrorTooltipTemplate}"
Placement="Right"/>
</ToolTipService.ToolTip>
</Grid>
</ControlTemplate>
<Style TargetType="telerik:RadMultiColumnComboBox" BasedOn="{StaticResource RadMultiColumnComboBoxStyle}">
<Setter Property="Validation.ErrorTemplate" Value="{StaticResource ValidationTooltipTemplate}" />
</Style>