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

How unselect default selection in the item list?

7 Answers 124 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Alexandre
Top achievements
Rank 1
Alexandre asked on 22 Jul 2015, 02:07 PM

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

7 Answers, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 23 Jul 2015, 02:22 PM
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
0
Alexandre
Top achievements
Rank 1
answered on 28 Jul 2015, 10:37 AM

Thanks, that's exactly what I searched!

Regards!

Alex

0
Alexandre
Top achievements
Rank 1
answered on 24 Aug 2015, 02:34 PM

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

0
Nasko
Telerik team
answered on 25 Aug 2015, 10:53 AM
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
0
Alexandre
Top achievements
Rank 1
answered on 25 Aug 2015, 12:52 PM

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

 

0
Alexandre
Top achievements
Rank 1
answered on 25 Aug 2015, 12:53 PM

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

0
Nasko
Telerik team
answered on 26 Aug 2015, 12:01 PM
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
Tags
AutoCompleteBox
Asked by
Alexandre
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Alexandre
Top achievements
Rank 1
Share this question
or