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
Hi,
Attached a print screen of the error message.
Regards,
Hans
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
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
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
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