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

Application crashes when SearchMode is set to MatchAllTerms

5 Answers 69 Views
MultiColumnComboBox
This is a migrated thread and some comments may be shown as answers.
Hans
Top achievements
Rank 1
Veteran
Hans asked on 25 Oct 2019, 01:25 PM

Hi,

I recently set the SearchMode to MatchAllTerms in my default style for the RadGridView. Ever since, my application crashes when I try to do a lookup in a RadMultiColumnComboBox.  After removing the line from the default style, everything works fine again.  Could this be a bug ?

Regards
Hans

5 Answers, 1 is accepted

Sort by
0
Hans
Top achievements
Rank 1
Veteran
answered on 25 Oct 2019, 01:30 PM

Hi,

Attached a print screen of the error message.

Regards,
Hans

0
Dinko | Tech Support Engineer
Telerik team
answered on 30 Oct 2019, 12:02 PM

Hello Hans,

Thank you for the provided image.

To avoid any misunderstanding, may I ask you to elaborate more on the steps to reproduce this behavior. You open the dropdown of the RadMultiColumnComboBox, and exceptions occur, or there is an additional step? My guess here is that you are using implicit style. This style will be applied to the RadGridView inside the dropdown of the GridViewMultiColumnComboBoxColumn when it is open. Can you try instead of setting this property in style to place it directly to the parent RadGridView and check again if this exception appears?

Regards,
Dinko
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 allows you to write beautiful native mobile apps using a single shared C# codebase.
0
Hans
Top achievements
Rank 1
Veteran
answered on 06 Nov 2019, 02:59 PM

Hi Dinko,

Correct, I am using implicit styles and the error does indeed occur as soon as the dropdown is opened (by clicking the down arrow). Setting the SearchMode directly on the RadMultiColumnComboBox control works fine but I still want to set this property for all my RadGridViews using implicit style.  How can I achieve this ?

Regards,
Hans

0
Yoan
Telerik team
answered on 11 Nov 2019, 02:40 PM

Hello Hans,

Thank you for the clarification, I was able to reproduce the issue.

I have logged the following bug report on your behalf in our Feedback portal: MultiColumnComboBox: A NullReferenceException is thrown after opening the dropdown and there is an implicit style targeting RadGridView which sets the SearchMode property

I am afraid that for the moment there is no workaround for the issue. Please, excuse us for the inconvenience caused.

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
Hans
Top achievements
Rank 1
Veteran
answered on 12 Nov 2019, 09:57 AM

Hi Yoan,

thanks for logging the bug report.  Hope it gets fixed soon.  In the meantime I will set the SearchMode on each control.

Regards,
Hans

Tags
MultiColumnComboBox
Asked by
Hans
Top achievements
Rank 1
Veteran
Answers by
Hans
Top achievements
Rank 1
Veteran
Dinko | Tech Support Engineer
Telerik team
Yoan
Telerik team
Share this question
or