This is a migrated thread and some comments may be shown as answers.

TextSearchMode & IsSynchronizedWithCurrentItem

6 Answers 256 Views
MultiColumnComboBox
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 24 Sep 2019, 06:09 PM

As far as I can tell, MultiColumnComboBox does not have a TextSearchMode or IsSynchronizedWithCurrentItem property like the RadComboBox.  I'm looking to implement the Contains value of TextSearchMode. 

I also want the MultiColumbComboBox to display the current item at startup.  (using only one item at a time)  Is there another way to do these things?  Thanks.

6 Answers, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 27 Sep 2019, 03:09 PM

Hello Michael,

Let me go straight to your questions.

Indeed, RadMultiColumnComboBox does not have TextSearchMode property. However, you can set its AutoCompleteMode property to "Search". The Search mode filters and highlights the data. For a string property, the Contains operator will be applied, whereas for any other type the IsEqualTo will be used.

There is no out-of-the-box way of displaying the current item at startup. What you can do is to select the current item programmatically. Please check the Selection help article for a reference.

Regards,
Yoan
Progress Telerik

Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Michael
Top achievements
Rank 1
answered on 30 Sep 2019, 08:29 PM

After adding the AutoCompleteMode="Search" property and value to the xaml, the RadMultiColumnComboBox no longer shows the name of any currently selected item.  It always appears blank.   I believe this happens because I also have SelectionBoxesVisibility="Collapsed" property and value.  Is this a bug?

Also, I'm not understanding how the Selection help article would allow me to achieve displaying the name of the currently selected item (index 0) in the RadMultiColumnComboBox at startup.  Thanks.

0
Martin Ivanov
Telerik team
answered on 03 Oct 2019, 08:05 PM

Hi Michael,

We will check the new information and get back to you tomorrow. In the meantime, if any other question appears, please let us know.

Regards,
Martin Ivanov
Progress Telerik

Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Yoan
Telerik team
answered on 04 Oct 2019, 01:13 PM

Hi Michael,

Indeed, there is a bug when SelectionBoxesVisibility property is set to Collapsed. It is already logged into our feedback portal. You can track its progress at the following link.

As for setting the selected item - you can use the SelectedItem or SelectedIndex property of the RadMultiColumnComboBox control in order to select the needed item programmatically. For, example, you can set one of the above properties at the application startup and the RadMultiColumnComboBox should visualize the item when it is loaded.

Regards,
Yoan
Progress Telerik

Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Michael
Top achievements
Rank 1
answered on 09 Oct 2019, 03:20 PM
When I try to set the SelectedIndex in code behind when SelectionBoxesVisibility property is set to Collapsed, no selected item appears.  When switching to another item, it also remains blank.  I believe there is a bug related to this as well.
0
Yoan
Telerik team
answered on 14 Oct 2019, 01:59 PM

Hello Michael,

This is related to the bug I already mentioned. When fixing this bug we will make sure to test this scenario as well.

Thank you for suggesting it.

Regards,
Yoan
Progress Telerik

Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
MultiColumnComboBox
Asked by
Michael
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Michael
Top achievements
Rank 1
Martin Ivanov
Telerik team
Share this question
or