Completed
Last Updated: 07 May 2019 09:57 by ADMIN
Release R2 2019
Completed
Last Updated: 15 Feb 2019 14:25 by ADMIN
Created by: WSB
Comments: 2
Category: MultiColumnComboBox
Type: Bug Report
2

Hello Telerik,

Exception is thrown after typing in the autocompletebox and selecting an item right after that. 

 
System.Reflection.TargetInvocationException
  HResult=0x80131604
  Message=Exception has been thrown by the target of an invocation.
  Source=mscorlib
  StackTrace:
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Windows.RoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
   at Telerik.Windows.Controls.GridView.GridViewDataControl.RaiseSelectionChangedEvent(SelectionChangeEventArgs args)
   at Telerik.Windows.Controls.DataControl.RaiseSelectionChangedEvent(ItemSelectionChange selectionChange)
   at Telerik.Windows.Controls.DataControl.Telerik.Windows.Data.Selection.ISelectorInternal.RaiseSelectionChangedEvent(ItemSelectionChange selectionChange)
   at Telerik.Windows.Data.Selection.ItemSelectionHandler.EndAllowedSelection(ItemSelectionChange selectionChange)
   at Telerik.Windows.Data.Selection.ItemSelectionHandler.EndPendingSelection(ItemSelectionChange pendingSelection)
   at Telerik.Windows.Data.Selection.ItemSelectionHandler.EndSelection()
   at Telerik.Windows.Data.Selection.ItemSelectionHandler.SelectedItems_CollectionChanged(Object sender, 

Thanks in advance.

 

Completed
Last Updated: 02 Aug 2019 10:32 by ADMIN
Release LIB 2019.2.805 (8/05/2019)

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" />

Completed
Last Updated: 22 Jul 2019 06:02 by ADMIN
Created by: Tino
Comments: 3
Category: MultiColumnComboBox
Type: Feature Request
1
Add option to hide row indicator in grid.
Declined
Last Updated: 22 Jan 2019 14:33 by ADMIN
Created by: Stefan
Comments: 2
Category: MultiColumnComboBox
Type: Feature Request
1

the display of the drop-down part of the multicolumncombobox is different from the RAD combo box. There is an extra line between the content of the combo box and the drop-down button in the office 2016 theme at least. This should not be there to be consistent with the other combo boxes.

Stefan

Completed
Last Updated: 10 Feb 2020 16:26 by ADMIN
Release LIB 2020.1.210 (02/10/2020)

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).

Completed
Last Updated: 29 Jan 2020 15:02 by ADMIN
Release LIB 2020.1.203 (02/03/2020)

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>

Completed
Last Updated: 02 Aug 2021 08:02 by ADMIN
Release LIB 2021.2.802 (2 Aug 2021)

When placing controls in the CellTemplate/CellEditTemplate in the RadMultiColumnComboBox`s dropdown`s GridView some do not receive/accept the mouse input correctly.

In the newest version (2021.2.615) the dropdown of a RadDatePicker does not open. A RadButton works fine and a RadComboBox open and can select an item via mouse click.

In a previous version (2021.1.325) the RadComboBox also does not work, this seems to be fixed already.

 

I have attached a sample project demonstrating the behavio:

1) start the project

2) open the dropdown of the RadMultiColumnComboBox

3) click on the RadDatePicker`s calender icon button. => the calender view does not open

The very same DataTemplate is applied obove the RadMultiColumnComboBox to illustrate the proper behavior in contrast.

 

The behavior is visually demonstrated in the .gif (1.gif and 2.gif) I have attached.

Completed
Last Updated: 20 Sep 2021 07:04 by ADMIN
Release LIB 2021.3.920 (20 Sep 2021)
The search text gets cleared when a click on the combobox occurs (to open a combobox). No selection is performed during this action.

To work this around, you can cache the search text just before it is cleared and then restore it after the selection is performed.
Completed
Last Updated: 07 Jan 2022 07:09 by ADMIN
Release R1 2022

The drop-down menu does not close when a context menu is opened on top of it, even if the KeepDropDownOpen="False". The control would need to move the focus in order for the drop-down to close.

To work this around, you can use the CloseDropDown() method of the MultiColumnComboBox control.

Completed
Last Updated: 30 May 2022 09:14 by ADMIN
Release LIB 2022.2.530 (30 May 2022)

When the SelectionMode of MultiColumnComboBox is set to Single, changing the Selection invokes twice the SelectionChanged event.

What I would expect is that the event fires only once, with one item in AddedItems and one item in RemovedItems. Currently, addition and removal is done seperately, and the two invocations of the event correspond to them.

To reproduce, just use the Getting Started article about MultiColumnComboBox with the Clubs ItemSource. Subscribe to SelectionChanged event and make a change to the selection. I hope the following gif makes this clear - the first selection is valid, but the second should invoke the event only once, with 1 item added, 1 removed.

Completed
Last Updated: 16 Jun 2022 12:06 by ADMIN
Release R2 2022 SP1
The issue reproduces if you set the SelectedItem of the RadMultiColumnComboBox control before its textbox is loaded. One way for this situation to occur is if you data bind the SelectedItem to a property of the view model and then assign to the view model to the DataContext of the view, before the InitializeComponent call.

To work this around, you can reset the SelectedItem property on Loaded.

private void RadMultiColumnComboBox_Loaded(object sender, RoutedEventArgs e)
{
	var mccb = (RadMultiColumnComboBox)sender;            
	var selection = mccb.SelectedItem;
	mccb.SetCurrentValue(RadMultiColumnComboBox.SelectedItemProperty, null);
	mccb.SetCurrentValue(RadMultiColumnComboBox.SelectedItemProperty, selection);
}
Completed
Last Updated: 07 Aug 2024 08:11 by ADMIN
Release 2024.3.806 (2024 Q3)
Currently, the RadMultiColumnComboBox control does not support the ValidationErrorTemplateHelper.DisplayMode attached property. We could add support for it.
Unplanned
Last Updated: 20 Feb 2023 08:18 by ADMIN

When biding IsVisible of column in RadMultiColumnComboBox/GridViewItemsSourceProvider using MVVM pattern, the binding won't work initially, but is works as expected if removing the ElementName and adding it back in the below example xaml using debugger.

PS1. The binding for CheckBox(in the below sample) works with issue but not for RadMultiColumnComboBox

PS2. Also attached full sample code.

<Window x:Class="TestProject.MainWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                xmlns:local="clr-namespace:TestProject"
                Title="MainWindow" Height="350" Width="525">
    <Grid Margin="0,0,0,20" x:Name="rootGrid">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <Button Grid.Row="0" Command="{Binding ToggleCmd}">Toggle Last Name Visible</Button>
        <CheckBox Grid.Row="1" IsChecked="{Binding IsLastNameVisible}">Is Last Name Visible</CheckBox>

        <telerik:RadMultiColumnComboBox Grid.Row="2">
            <telerik:RadMultiColumnComboBox.ItemsSourceProvider>
                <telerik:GridViewItemsSourceProvider ItemsSource="{Binding AllClubs}" AutoGenerateColumns="false" >
                    <telerik:GridViewItemsSourceProvider.Columns>
                        <telerik:GridViewDataColumn DataMemberBinding="{Binding FirstName}"   />
                        <telerik:GridViewDataColumn DataMemberBinding="{Binding LastName}"
                                                    IsVisible="{Binding DataContext.IsLastNameVisible , ElementName=rootGrid}" />
                    </telerik:GridViewItemsSourceProvider.Columns>
                </telerik:GridViewItemsSourceProvider>
            </telerik:RadMultiColumnComboBox.ItemsSourceProvider>
        </telerik:RadMultiColumnComboBox>

    </Grid>
</Window>

Completed
Last Updated: 31 Aug 2020 10:40 by ADMIN
Release LIB 2020.2.831
When the filtered items in the RadGridView do not contain the currently selected items, they are cleared. 
Completed
Last Updated: 28 Sep 2020 09:54 by ADMIN
Release LIB 2020.3.928 (09/28/2020)
Selecting an item is not possible after the RadGridView control in the dropdown has been sorted.
Completed
Last Updated: 15 Oct 2020 14:30 by ADMIN
Release R3 2020 SP1
The received exception is: "System.ArgumentNullException: 'Value cannot be null.
Parameter name: source'".
Unplanned
Last Updated: 28 Aug 2023 15:16 by ADMIN
Currently, when a RadMultiColumnComboBox is placed in a ScrollViewer, the inner ScrollViewer of RadMultiColumnComboBox prevents the parent one from scrolling via the mouse wheel.

Add an option or change the default behavior and allow the scrolling to bubble to the parent scrollbar. This behavior can be observed in the native TextBox control with an enabled vertical scrollbar.

For the time being, the MouseWheel event can be manually raised:
private void ScrollViewer_PreviewMouseWheel(object sender, MouseWheelEventArgs e)
{
	if (sender is ListBox && !e.Handled)
        {
		e.Handled = true;
		var eventArg = new MouseWheelEventArgs(e.MouseDevice, e.Timestamp, e.Delta);
		eventArg.RoutedEvent = UIElement.MouseWheelEvent;
		eventArg.Source = sender;
		var parent = ((Control)sender).Parent as UIElement;
		parent.RaiseEvent(eventArg);
	}
}
Unplanned
Last Updated: 25 Aug 2023 20:52 by Martin Ivanov
Currently, when DataContext of RadMultiColumnComboBox changes to an object that contains valid SelectedItem and ItemsSource view model properties, the SelectedItem get set to null. This happens because the control resets the selection on ItemsSource changed, which happens after the SelectedItem binding was evaluated. 

Add an option to ensure that the SelectedItem won't get reset after the binding was evaluated  because of the ItemsSource changed action. The behavior should mimic how RadComboBox behaves in this scenario.
Completed
Last Updated: 20 Oct 2023 12:49 by ADMIN
Release LIB 2023.3.1023 (23 Oct 2023)
System.InvalidOperationException: 'Collection was modified; enumeration operation may not execute.' - This exception is occasionally thrown while searching in the MultiColumnComboBox after populating the FilterDescriptors/GroupDescriptors of the RadGridView programmatically.