How unselect default selection in the item list?

8 posts, 0 answers
  1. Alexandre
    Alexandre avatar
    7 posts
    Member since:
    Apr 2015

    Posted 22 Jul 2015 Link to this post

    Hi!

    In the AutoCompleteBox in Suggest mode, when I enter some search text, the control always select the first element of the filtered list. Conversely, when I delete a char of my search text, nothing is selected in the filtered list even if it contains items.

    Is it a way to always select the first item (even if a delete is done) or to always select nothing (event if I put chars).

    Thanks for your answer!

     Alex

  2. Nasko
    Admin
    Nasko avatar
    587 posts

    Posted 23 Jul 2015 Link to this post

    Hello Alexandre,

    The observed by you is the default highlight behavior of RadAutoCompleteBox. You could easily modify and change that behavior by creating a custom one. For a more detailed information how to achieve this please, check the following article from our help documentation:
    http://docs.telerik.com/devtools/wpf/controls/radautocompletebox/features/highlightbehavior

    Hopes this helps.

    Regards,
    Nasko
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Alexandre
    Alexandre avatar
    7 posts
    Member since:
    Apr 2015

    Posted 28 Jul 2015 in reply to Nasko Link to this post

    Thanks, that's exactly what I searched!

    Regards!

    Alex

  5. Alexandre
    Alexandre avatar
    7 posts
    Member since:
    Apr 2015

    Posted 24 Aug 2015 in reply to Nasko Link to this post

    Hello!

    Sorry to re-open this post, but I found a special behavior for the telerik autocompletebox.

    When I type some characters, an item is always selected (generally the first if we don't create an highlightbehavior), but when I delete a character, no item is selected even if the list contains items.

    How can I always select an item when I delete characters? I've tried with the highlightbehavior but it doesn't work.

    Thanks for your help!

    Alex

  6. Nasko
    Admin
    Nasko avatar
    587 posts

    Posted 25 Aug 2015 Link to this post

    Hi Alexander,

    The observed by you functionality and behavior of RadAutoCompleteBox when character is deleted using "Backspace" is intended by design. When you delete a character while the DropDown is opened any previously highlighted item is removed - this is how the control is expected to work with the current implement ion and there isn't any approach that currently we could suggest you to modify that behavior.

    Hopes the provided information will help you.

    Regards,
    Nasko
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  7. Alexandre
    Alexandre avatar
    7 posts
    Member since:
    Apr 2015

    Posted 25 Aug 2015 in reply to Nasko Link to this post

    Hi! Thanks for you response!

    My development team and I think that it would be interesting, for a future version of the radautocompletebox, to integrate an option to manage this behavior. It would be a great improvement for this component :-)

    Until this feature, we will certainly found a workaround to solve this problem.

    Regards!

    Alex

     

  8. Alexandre
    Alexandre avatar
    7 posts
    Member since:
    Apr 2015

    Posted 25 Aug 2015 Link to this post

    Hi! Thanks for you response!

    My development team and I think that it would be interesting, for a future version of the radautocompletebox, to integrate an option to manage this behavior. It would be a great improvement for this component :-)

    Until this feature, we will certainly found a workaround to solve this problem.

    Regards!
    Alex

  9. Nasko
    Admin
    Nasko avatar
    587 posts

    Posted 26 Aug 2015 Link to this post

    Hello Alexander,

    You could log this desired behavior of RadAutoCompleteBox in our Feedback Portal providing a detailed description of the expected and needed functionality. We will review the item with our development team and either will consider it for implementation or decline it.

    If you have any additional questions or concerns regarding Telerik controls, please do not hesitate to contact us.

    Regards,
    Nasko
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for WPF is Visual Studio 2017 Ready