Unplanned
Last Updated: 30 Mar 2021 13:47 by ADMIN
Created by: Simon
Comments: 6
Category: AutoCompleteBox
Type: Feature Request
2

Hi,

under certain circumstances, RadAutoCompleteBoxes (at least in the "SuggestAppend" mode)  have a discrepancy between what is displayed and what is actually selected/in their SearchText property.

Steps to reproduce:

- Execute the attached project

- Focus the AutoCompleteBox on the top left.

- type the number zero (0) (for demo purposes, all items have names that look like 00001, 00002, 00004, ...)

- You should now see the Dropdown opening and the suggestion mechanism beginning to suggest the first item in the list. You should also see that the SearchText property that is bound to ViewModel contains the single zero you just typed. The selected item is still NULL as expected.

- Now, instead of typing anything else, click out of the AutoCompleteBox and focus another control (I added the WatermarkBox on the right side to allow for that)

- This is the point where the discrepancy occurs: The viewmodel still only sees the zero you typed and no item is selected. BUT: the AutoCompleteBox now shows the full item name as if it was selected correctly, see the attached screenshot.

As a user who does not have the controls on the right side to show me what is actually happening under the hood, I have no chance of knowing what is actually selected (and if anything is selected at all). To me it looks like the AutoCompleteBox just selected the first item for me. If this is what I wanted, I would have no reason to think that nothing is actually selected.

Since the ViewModel does not know anything about the additional text that is displayed, I (now as the programmer) have afaik no chance to add a workaround that selects the corresponding item when the control loses focus.

 

What I think it should look like:

There are two possibilities:

1. As soon as the control loses focus, the suggestion should disappear, leaving me with a single zero in the text box and nothing selected.

2. There could be a second property where I can bind to the full text in the textbox (including the suggestion) so I as the programmer can decide what to do with the suggestion once the control loses focus.

 

Best regards

Simon M├╝ller

Hofmann F├Ârdertechnik GmbH

 

PS.: If you click back into the AutoCompleteBox after defocusing it, you can then actually edit the suggestion as if it was text you inserted in the first place. But only after your first key press, the ViewModel is updated to the full string that is displayed in the textbox.

Unplanned
Last Updated: 22 Sep 2020 12:12 by ADMIN
Currently, if you wrap RadAutoCompleteBox in a ScrollViewer (along with some other controls) and enable the vertical scrollbar of the child TextBox control, the scrolling doesn't bubble to the parent ScrollViewer when you reach the beginning (scroll up) or the end (scroll down) of the TextBox scrollbar.

Add an option or change the default behavior and allow the scrolling to bubble to the parent scrollbar. This behavior can be observed in the native TextBox control with enabled vertical scrollbar.
Unplanned
Last Updated: 26 Mar 2020 13:24 by ADMIN
Currently the control does not select the item, if it is autocompleted and the focus is lost. We can add a property for this scenario similar to the CanAutocompleteSelectItems property of the RadComboBox.
Unplanned
Last Updated: 24 Feb 2020 10:15 by ADMIN
Created by: Ed
Comments: 1
Category: AutoCompleteBox
Type: Feature Request
2

Hello,

Did some reading and didn't see a way to do this but I am wondering with the RadAutoCompleteBox is it possible to select multiple suggestions at the same time?

Looking at  https://docs.telerik.com/devtools/wpf/controls/radautocompletebox/overview for example the picture shows "United Kingdom" and "United States". Is there a way for the user to select both "United Kingdom" and "United States" either with a checkbox or a shift-click or some other mechanism?

The use case is as follows: the RadAutoCompleteBox is tied to a search algorithm that can be a bit slow at times and will return many records. Would be handy for the user to just click all the suggestions they want instead of researching each time.

Unplanned
Last Updated: 29 Jul 2019 14:48 by ADMIN
Created by: Dimitar
Comments: 0
Category: AutoCompleteBox
Type: Feature Request
4
While typing, if there's a matching item - it's being highlighted. However, when deleting text, no item gets highlighted even if there is a match.
Unplanned
Last Updated: 18 Mar 2019 02:39 by ADMIN
Created by: Hillin
Comments: 0
Category: AutoCompleteBox
Type: Feature Request
2
 
Declined
Last Updated: 12 Nov 2018 07:37 by ADMIN
ADMIN
Created by: Stefan
Comments: 1
Category: AutoCompleteBox
Type: Feature Request
0

			
Completed
Last Updated: 12 Nov 2018 07:32 by ADMIN
ADMIN
Created by: Kalin
Comments: 1
Category: AutoCompleteBox
Type: Feature Request
1

			
Declined
Last Updated: 04 Oct 2018 09:48 by ADMIN
The workaround is to set String.Empty for TextSearchPath before setting the new value for the DisplayMemberPath
Unplanned
Last Updated: 27 Jul 2018 13:10 by Patrick
Similar to BoxesItemTemplate when SelectionMode=Multiple.
Perhaps switch between modes of text entry and SelectedItemTemplate. This would allow a custom display of the selected item and the ability to re-enter search by text mode. It might be nice if the type search text stayed so if you mis select- simply clicking the search text would get the user back to the same filtered list pre-mis-select.
Completed
Last Updated: 20 Jul 2018 07:30 by ADMIN
Unplanned
Last Updated: 22 May 2018 07:38 by ADMIN
Steps to reproduce:
1. Run the attached sample application 
2. Enter the value that is not on the list of autocomplete values.
3. The RadAutoCompleteBoxAutomationPeer.Value return null, because the value is not included in SelectedItems collection

If the entered value is included in the list, the RadAutoCompleteBoxAutomationPeer.Value contains a comma (',') in single selection mode.

Workaround: 
1. The first approach is getting the value from nested watermark text box 
2. Another approach is creating own AutomatomationPeer that getting the value from SearchText 
Unplanned
Last Updated: 13 Apr 2018 07:22 by ADMIN
ADMIN
Created by: Dilyan Traykov
Comments: 0
Category: AutoCompleteBox
Type: Bug Report
1
The current workaround is to directly set the value of the underlying TextBox instead:

this.RadAutoCompleteBox.ChildrenOfType<TextBox>().First().Text = "1 I";
Unplanned
Last Updated: 07 Nov 2017 08:33 by ADMIN
When you start typing, the dropdown appears and then you leave the AutoCompleteBox without clicking, the cursor is not changing back to arrow.

As a workaround of the issue you could manually release the mouse capture in the Populated event handler of the control as shown below:


 private void AutoCompleteBox_Populated(object sender, System.EventArgs e)
        {
            if (Mouse.Captured is RadAutoCompleteBox)
            {
                (sender as RadAutoCompleteBox).ReleaseMouseCapture();
            }
        }
Unplanned
Last Updated: 17 Oct 2017 07:46 by ADMIN
Unplanned
Last Updated: 31 Aug 2017 15:49 by ADMIN
Completed
Last Updated: 09 Mar 2017 15:08 by ADMIN
If you have RadAutoCompleteBox above RadPanelBarItems and the expanded drop down menu (of the RadAutoCompleteBox) covers them, if you click over some of the drop down items the RadPanelBarItem below gets clicked too.
The fix is available in  Q2 2013 Release.
Completed
Last Updated: 15 Feb 2017 08:42 by ADMIN
Available in LIB version 2017.1.213 , it will be also available in the R1 2017 SP1 Release.
Unplanned
Last Updated: 03 Jan 2017 21:20 by ADMIN
Unplanned
Last Updated: 03 Jan 2017 21:09 by ADMIN
In Multiple SelectionMode it would be useful to be able to customize the way selected items (boxes) are displayed. Customizing their looks via a StyleSelector would be optimal.
1 2 3 4