TextSearchMode & IsSynchronizedWithCurrentItem

7 posts, 0 answers
  1. Michael
    Michael avatar
    33 posts
    Member since:
    Nov 2014

    Posted 24 Sep Link to this post

    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.

  2. Yoan
    Admin
    Yoan avatar
    1197 posts

    Posted 27 Sep Link to this post

    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.
  3. Michael
    Michael avatar
    33 posts
    Member since:
    Nov 2014

    Posted 30 Sep Link to this post

    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.

  4. Martin Ivanov
    Admin
    Martin Ivanov avatar
    2240 posts

    Posted 03 Oct Link to this post

    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.
  5. Yoan
    Admin
    Yoan avatar
    1197 posts

    Posted 04 Oct Link to this post

    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.
  6. Michael
    Michael avatar
    33 posts
    Member since:
    Nov 2014

    Posted 09 Oct in reply to Yoan Link to this post

    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.
  7. Yoan
    Admin
    Yoan avatar
    1197 posts

    Posted 14 Oct Link to this post

    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.
Back to Top