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

AutoComplete scroll bar position

0 Answers 80 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Menny
Top achievements
Rank 1
Menny asked on 10 May 2012, 12:43 PM
Hi,

I'm using your combobox for autocomplete purpose. I want the user to be able to type text and to get the correct items.

If I set IsFilteringEnabled="True" then no metter what I do (CanAutocompleteSelectItems="True" ) the user cannot type something that does not exists in the list.  the list will reset to default item.

If I set  CanAutocompleteSelectItems="True" and IsFilteringEnabled="False" that works fine, but if the item is in the near end of the list the scroll does not make it be on the top of the list, but as the last item in the scroll view region. So if my list is sorted, and the user text gets me to one of the last items, I cannot see in the scroll view region the next matches…

It seems like one functionality overrides the other. I would be happy to get the filtering option + the ability for the user to type some text that is not on the list and for me to get that text still.

 here is the scroll problem
ItemsSource="{Binding SourceFilteredNodes.View}"
                                             Text="{Binding SourceEntityText, Mode=TwoWay}"
                                             SelectedItem="{Binding SourceEntity, Mode=TwoWay}"
                                             ItemTemplate="{StaticResource NodeListItemDataTemplate}"
                                             telerik:TextSearch.TextPath="Name"
                                             CanAutocompleteSelectItems="True"
                                             CanKeyboardNavigationSelectItems="False"
                                             IsFilteringEnabled="False"
                                             TextSearchMode="StartsWith"
                                             StaysOpenOnEdit="True"
                                             IsEditable="True"
                                             OpenDropDownOnFocus="True"


Please advice

 

 

 
Tags
ComboBox
Asked by
Menny
Top achievements
Rank 1
Share this question
or