Application crashes when SearchMode is set to MatchAllTerms

6 posts, 0 answers
  1. Hans
    Hans avatar
    54 posts
    Member since:
    Nov 2017

    Posted 25 Oct Link to this post

    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

  2. Hans
    Hans avatar
    54 posts
    Member since:
    Nov 2017

    Posted 25 Oct Link to this post

    Hi,

    Attached a print screen of the error message.

    Regards,
    Hans

  3. Dinko
    Admin
    Dinko avatar
    951 posts

    Posted 30 Oct Link to this post

    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.
  4. Hans
    Hans avatar
    54 posts
    Member since:
    Nov 2017

    Posted 06 Nov in reply to Dinko Link to this post

    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

  5. Yoan
    Admin
    Yoan avatar
    1197 posts

    Posted 11 Nov Link to this post

    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.
  6. Hans
    Hans avatar
    54 posts
    Member since:
    Nov 2017

    Posted 12 Nov in reply to Yoan Link to this post

    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

Back to Top